Computers and Technology, 26.01.2021 01:40, ikahypp
11.4 Simple Arithmetic Program
For this lab, you will write a Java program to prompt the user to enter two integers. Your program will display a series of arithmetic
operations using those two integers.
Sample Output: This is a sample
transcript of what your program should do. Items in bold are user input and should not be put on the
screen by your program. Make sure your output looks EXACTLY like the output below, including spacing. Items in bold are elements input by
the user, not hard-coded into the program.
Enter the first number: 12
Enter the second number: 3
12 + 3 = 15
12 - 3 = 9
12 * 3 = 36
12 / 3 = 4
12% 3 = 0
The average of your two numbers is: 7
A second run of your program with different inputs might look like this:
Enter the first number: -4
Enter the second number: 3
-4 + 3 = -1
-4 3 = -7
-4 * 3 = -12
-4 / 3 = -1
-4 % 3 = -1
The average of your two numbers is: 0
raico 2 of Closedlani That code takes in a single number and
Answers: 2
Computers and Technology, 22.06.2019 01:00, toottoot42169
What can you find the under the privacy policy section of a shopping website?
Answers: 1
Computers and Technology, 22.06.2019 11:00, kingethan08
Ihave an iphone 8plus should i get another phone like samsung note 9 or s9 ? ?
Answers: 2
Computers and Technology, 22.06.2019 21:30, aesthetickait
How do you take a green screen out of the video while editing?
Answers: 2
11.4 Simple Arithmetic Program
For this lab, you will write a Java program to prompt the user to...
Mathematics, 26.08.2019 21:30
Mathematics, 26.08.2019 21:30
Mathematics, 26.08.2019 21:30
Geography, 26.08.2019 21:30
Mathematics, 26.08.2019 21:30
Mathematics, 26.08.2019 21:30