FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

GitHub Viewer

/*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 student’s 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

Back | FazBrowse Home | New Git URL