🔒 Closed Pa Help po sa coding ng java

Status
Not open for further replies.

Sh1ro

Forum Veteran
Pa helpp po assignment lang po sa java thankyouu po sa makakatulong
 

Attachments

  • IMG_20200306_143914.webp
    IMG_20200306_143914.webp
    79.3 KB · Views: 22
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

About this Thread

  • 5
    Replies
  • 544
    Views
  • 5
    Participants
Last reply from:
Murrzz

Trending Topics

Online now

Members online
468
Guests online
11,741
Total visitors
12,209

Forum statistics

Threads
2,346,259
Posts
29,347,775
Members
1,101,346
Latest member
kaboskaw
Back
Top