Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: user4a080
Added: Nov 17, 2019 5:35 AM
Views: 7
Tags: console menu
  1. static void displayMenu() {
  2.         System.out.println("COMMAND MENU");
  3.         System.out.println("print   - Print all element of array");
  4.         System.out.println("sum1    - Sum of munber old");
  5.         System.out.println("sum2    - Sum of munber divisibility 5");
  6.         System.out.println("sum3    - Sum prime number");
  7.         System.out.println("help    - Show this menu");
  8.         System.out.println("exit    - Exit this application\n");
  9.     }