Question: Write a program that prompts the user to enter three floating point numbers. Store those numbers in 3 float variables. Then, print out the sum

 Write a program that prompts the user to enter three floating

Write a program that prompts the user to enter three floating point numbers. Store those numbers in 3 float variables. Then, print out the sum of the three numbers. You can print out the sum by adding (using +) the three loat variables, directly in the cout statement. Here are some sample runs of the program (with user input in bold italics Sample run 1: Enter three floating point numbers: 4.3 5.4 2.1 Sum: 11.8 Sample run 2: Enter three floating point numbers 12.3 11.9 1.43 Sum: 25.63 YOUR ANSWER We recommend you take a quick tour of our editor before you proceed. The timer will pause up to 90 seconds for the tour Start tour For help on how to read input and write output in C++,click here Draft saved 04:27 pm Original Code C++ 1 #include 4 int main)

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!