Question: Python Create a program that will do the following: Prompt the user for 3 floats Add the first 2 numbers, then multiply by the third
Python Create a program that will do the following:
Prompt the user for floats
Add the first numbers, then multiply by the third number
Print out the result of this calculation on its own line
For example, if the user input is and you should print out
Here is a sample run of the program:Notes:
Format the output with two decimal places. As a reminder, section discusses output formatting:
printfThe string you want to display: yourVariable:f
Make sure the last part of your output is the result of the calculation, with no other characters except a decimal point. It does not matter what other input our output statements you have in your program, provided the output ends with the result of the calculation.
History
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
