Question: Using C++ to write this simple code. Thank you Say Hello User to the user when the program is created Ask the user for their
Using C++ to write this simple code. Thank you
Say Hello User to the user when the program is created
Ask the user for their name
Take their name as input
Thank the user by name for telling you their name
Ask for two numbers (ints)
Show the Sum of these two numbers as an int
Show the Difference of these two numbers as an int (Num1 Num 2)
Show the Product of these two numbers as an int
Show the Quotient of these two numbers as an int (Num 1 / Num 2)
Ask for two more numbers (doubles)
Show the Sum of these two numbers as a double
Show the Difference of these two numbers as a double (Num1 Num 2)
Show the Product of these two numbers as a double
Show the Quotient of these two numbers as a double (Num 1 / Num 2)
Thank the user by name for their time
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
