subject

Write C++ statements to do the following:a) Declare int variable num1 and num2.b) Prompt the user to input two numbers. c) Assign the first input number to num1 and the second input number to num2d) Output num1, num2, and 2 times (num1 minus num2). Your output must identify each variable name followed by its value, then the expression for 2 times (num1 minus num2) followed by its value.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 15:20
What does a bonus object do? a. subtracts lives b. keeps track of a player's health c. gives a player an advantage d. makes text appear
Answers: 1
question
Computers and Technology, 24.06.2019 17:50
Which of the following best describe how the depth-limited search works. a normal depth-first search is performed but the number of ply/depths is limited. a normal breadth-first search is performed but the number of ply/depths is limited. a normal breadth-first search is performed but values above a specific value will be ignored. a normal depth-first search is performed but values above a specific value will be ignored.
Answers: 1
question
Computers and Technology, 24.06.2019 21:40
is on drugs i swear i ask a question and its not showing whats going
Answers: 2
question
Computers and Technology, 25.06.2019 07:00
What statement would cause polarization
Answers: 1
You know the right answer?
Write C++ statements to do the following:a) Declare int variable num1 and num2.b) Prompt the user to...
Questions
question
Social Studies, 19.09.2019 19:30
question
Mathematics, 19.09.2019 19:30
Questions on the website: 13722359