Question: Write a program that asks the user What is the circle radius?, then creates a new circle with that radius. If the area of the

Write a program that asks the user "What is the circle radius?", then creates a new circle with that radius. If the area of the circle is >= 10, then print the message "This circle is big." otherwise print the message "This circle is small." taking note that the message has a fullstop at the end of the sentence.

The following sample I/O shows how your program should behave for a big circle:

What is the circle radius?  user inputs 3.7  This circle is big. 

And for a small circle:

What is the circle radius?  user inputs 1.2  This circle is small. 

public class Exercise4 {

public static void main(String[] args) {

// INSERT YOUR CODE HERE

}

}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!