PythagCalc.java - import java.util import java.lang public class PythagCalc cfw public static void main(String]args cfw Scanner in = new

PythagCalc.java - import java.util import java.lang public...

This preview shows page 1 out of 1 page.

import java.util.*; import java.lang.*; public class PythagCalc { public static void main(String[]args) { Scanner in = new Scanner(System.in); System.out.println("Enter side a"); double a = in.nextDouble();
Image of page 1

You've reached the end of your free preview.

Want to read the whole page?

  • Fall '14
  • new Scanner

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes