Hello! In my beginning Java class, our teacher gave us the assignment to ask the user for the radius of a circle and then to output the area and circumference based on their input. Well I wrote this code, thinking it was what he wanted, but he gives me feedback saying "No, expand it more." But we've only gone over what's in the code below. We haven't gone over 'if...else if' or anything else more advanced than what's below, so any ideas on what he wants? Because I have looked at it and don't know how he wants me to expand it or put more code in there. Thanks in advance!
import java.util.Scanner; public class LUCKYCAAAAT { /** * @param args */ public static void main(String[] args) { Scanner QWERTY = new Scanner (System.in); System.out.println("Let's calculte the circumference of the circle."); System.out.println("Enter the radius of the circle."); double radius; radius = QWERTY.nextDouble(); System.out.println("You entered " + radius); System.out.println("Now calculating circumferece..."); double circumference; circumference = 2*3.14159*radius; System.out.println("The circumference of the circle is " + circumference); System.out.println("Now let's find the area!"); double area; area = 3.14159*radius*radius; System.out.println("The area of the circle is " + area); } }