What's new

Closed Pa Help po sa coding ng java

Status
Not open for further replies.

Genjutsu

Forum Veteran
Joined
May 11, 2017
Posts
1,158
Reaction
905
Points
566
Pa helpp po assignment lang po sa java thankyouu po sa makakatulong
 

Attachments

Code:
/*
Display the Menu First
Take the input form user
*/
System.out.print("Result: ");
switch(/* choice of the user*/) {
case 1 :
    //output the input of the user
    System.out.println(input1 + input2); break;
case 2 :
System.out.println(input1 - input2); break;
case 3:
System.out.println(input1 * input2); break;
case 4:
System.out.println(input1 / input2); break;
}
 
Status
Not open for further replies.

Similar threads

Back
Top