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

About this Thread

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

Trending Topics

Online now

Members online
694
Guests online
1,939
Total visitors
2,633

Forum statistics

Threads
2,318,551
Posts
29,196,251
Members
1,180,985
Latest member
VinaySingh2856
Back
Top