Computer Science, asked by sunitazirange, 7 months ago

why is while used over here ? wht does this indicate? state the reason.... import java.util.Scanner; public class menudriven3 { public static void main(String []args) { Scanner sc = new Scanner(System.in); int ch,k; while(true) { System.out.println("01.prime no."); System.out.println("02.palindrome number"); System.out.println("03.quit"); System.out.println("enter your choice:"); ch = sc.nextInt(); i was not able to write the whole program because of the character input... ITS A MENU DRIVEN PROGRAM OF JAVA ... STATE WHATS THE WORK(FUNCTION) OF WHILE OVER HERE....???? :) THANKS!

Answers

Answered by dhruvahlawat66
0

Answer:

It is quiet hard but it is question or something else

Similar questions