Question: This week you should practice writing a program that will display a math addition problem to the user. Allow the user to enter their answer
This week you should practice writing a program that will display a math addition problem to the user. Allow the user to enter their answer and check to see if they were right or wrong. You should also begin using the float datatype to represent your output to two decimal places. To display float values with two decimal places you will use the formatting specification of f in your printf statement. Make up the problem and hard code it into our program. Here is an example:
UFinalscreenpng
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
