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.Write a C++ program to read (input by user) two real numbers

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!