[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/subham500071430/JavaProgramming/patch-2/MenuDriven.java [Back]  [Original]

/*Make a menu driven program. The user can enter 2 numbers, either 1 or 0. 
If the user enters 1 then keep taking input from the user for a students marks(out of 100). 
If they enter 0 then stop.
If he/ she scores :
Marks >=90 -> print This is Good
89 >= Marks >= 60 -> print This is also Good
59 >= Marks >= 0 -> print This is Good as well */

import java.util.*;

public class MenuDriven {
   public static void main(String args[]) {
       Scanner sc = new Scanner(System.in);
       int input;

       do {
           int marks = sc.nextInt();
           if(marks >= 90 && marks = 60 && marks = 0 && marks 

Web Proxy Viewer  |  New URL  |  Original Page