Wednesday, September 26, 2012

Java Exercise #4: Area Of A Circle

This exercise is to calculate the area of circle for a given radius. Radius is hard coded in the exercise and is not input from the console by the user.

Exercise: Write a program that prints the area of circle for a given radius on Console.

Area of circle with radius: 10.0 is 314.159

Download Code: Circle Area

No comments:

Post a Comment