Question: Write a C++ program to read (input by user) two real numbers and print their sum and product. 1. Write a C++ program to read
Write a C++ program to read (input by user) two real numbers and print their sum and product.
1. Write a C++ program to read (input by user) two real numbers and print their sum and product. DATA REQUIREMENTS Problem Input num1 num2 Problem calculations and Output sum (sum of num1 and num2) prod (product of num1 and num2) An example of a possible sample input/output: Enter first number: 2.25 Enter second number: 2 The sum =4.25 The product =4.5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
