Write C++ statements to do the following. a. Declare int variables num1 and num2. b. Prompt the user to input
This problem has been solved!
Do you need an answer to a question different from the above? Ask your question!
Question:
Write C++ statements to do the following.
a. Declare int variables num1 and num2.
b. Prompt the user to input two integers.
c. Input the first number in num1 and the second number in num2.
d. Output num1, num2, and 2 times num1 minus num2. Your output must identify each number and the expression.
Related Book For
Fundamentals of Database Systems
ISBN: 978-0136086208
6th edition
Authors: Ramez Elmasri, Shamkant Navathe
View Solution
Create a free account to access the answer
Cannot find your solution?
Post a FREE question now and get an answer within minutes.
* Average response time.
Posted Date: May 19, 2021 21:32:16