🔒 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: 20
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.

About this Thread

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

Online now

Members online
1,064
Guests online
2,229
Total visitors
3,293

Forum statistics

Threads
2,277,086
Posts
28,974,249
Members
1,229,725
Latest member
serrano32100
Back
Top