Write a code that automatical generate a random number between 1 and 10; save the generated number as r. Compute and print out to the console the area of the disk of radius r. Solution Area.java import java.util.*; public class Area { // Constant PI is defined at the class level static final double PI = 3.141592653589793; public static void main(String[] args) { // Local variables double radius, area; Random rand = new Random(); int n = rand.nextInt(10) + 1; radius = n; System.out.println(\"The radius is : \" + radius); // Perform calculations and display result area = PI * (radius * radius); System.out.println(\"The area is: \" + area); } } Output : The radius is : 9.0 The area is: 254.46900494077323 .