CMIS  141

 

Never use plagiarized sources. Get Your Original Essay on
Information Systems Assignment
Hire Professionals Just from $11/Page
Order Now Click here

Write a Java program that calculates and displays the results of addition, subtraction, multiplication, division, modulus, bitwise &, or bitwise | operation on two integer values input by the user. The program should prompt the user for the two integers and the operation to be performed.

 

Here is a sample run:


Enter the first integer: 24

Enter the second integer: 4

Enter the operation: +

The results of 24 + 4 is 28

 

 

Need a custom written plagiarism free essay? Click here to order now.

Open chat
Lets chat on via WhatsApp
Hello, Welcome to our WhatsApp support. Reply to this message to start a chat.