🔒 Closed Pa Help po sa coding ng java

Status
Not open for further replies.

Sh1ro

Elite
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.

About this Thread

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

Trending Topics

Online now

Members online
1,110
Guests online
1,609
Total visitors
2,719

Forum statistics

Threads
2,291,350
Posts
29,070,193
Members
1,210,827
Latest member
bugbite
Back
Top