Question: Q 1 [ 7 pts ] : Basic types, assignment, input and output, formatted output Input two float numbers indicating monthly revenue for a start

Q1[7pts]: Basic types, assignment, input and output, formatted output
Input two float numbers indicating monthly revenue for a start-up as well as its monthly expenses: assign those numbers to the variables revenue and expense.
Print the revenue and expense of the start-up. Make sure that both numbers have the same format: that is, make sure each floating-point value has two digits after the decimal point
Example:
Input:
revenue: 125342.56
expense: 112000.00
Output:
Monthly revenue is 125342.50, expense is 112200.00.

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!