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, 21.06.2019 22:40
State the parts of a variable declaration?
Answers: 2
Computers and Technology, 22.06.2019 11:00
When building customer relationships through email what should you not do? question 2 options: utilize proper grammar, spelling, and punctuation type in all capital letters use hyperlinks rather than attachments respond to all emails within 24 hours
Answers: 1
Computers and Technology, 23.06.2019 09:30
The place where the extended axis of the earth would touch the celestial sphere is called the celestial
Answers: 1
Computers and Technology, 23.06.2019 14:30
Which of the following would not be considered a pc? a. mainframe b. desktop c. tablet pc d. laptop
Answers: 2
11.4 Simple Arithmetic Program
For this lab, you will write a Java program to prompt the user to...
French, 18.10.2019 10:30
History, 18.10.2019 10:30
Biology, 18.10.2019 10:30
Mathematics, 18.10.2019 10:30
English, 18.10.2019 10:30
English, 18.10.2019 10:30
Mathematics, 18.10.2019 10:30
Mathematics, 18.10.2019 10:30
History, 18.10.2019 10:30