Assessment weight : 0% |
Due : Week 2 |
<HTML> <HEAD> <TITLE> this is the title </TITLE> </HEAD> <BODY> your name, student ID <A HREF= "Ex1.txt"> Part 1 answer </A> </BODY> </HTML>
click the download buttom circled, you will see the following License Agreement screen
click accept and continue
if you have problem running the JDK tools and see similar output as follow:
type PATH=%path%;C:\j2sdk1.4.2_02\bin; to reset the search path in your system, or follow the steps in Installation Notes to set the PATH permanently.
import java.io.*; public class NewCirArea { public static void main(String[] arg) throws IOException { float area ; int r = 10 ; final float pi=3.14f ; area = pi * r * r ; System.out.println("The radius you provided was " + r + " feet and the area is about " + area + "sq feet"); } }