Q Make a calculator that rounds off integerst to nearest 1000s, 100s and 10s as per requirement by user.
CODE import java.util.Scanner; import java.util.Random; public class red { public static void main (String args[]) { int n,a,cases; Scanner bucky = new Scanner(System.in); System.out.println("Enter your number"); n = bucky.nextInt(); System.out.println("What type of round off do you want?"); System.out.println("1. to nearest 10."); System.out.println("2. to nearest 100."); System.out.println("3. to nearest 1000."); cases = bucky.nextInt(); switch(cases) { case 1...