Question: can help me solve this? Already know with using the via #include and printf but..I want the code c++ via using #include and cout thanks...just

can help me solve this? Already know with using the via #include
but..I want the code c++ via using #include
thanks...just for basic computing level language

the answer should be like this
The given program segment is actually meant for calculating the fine charged for the late return of library book(s). The fine rate will be determined according to table below. Rewrite the above program segment so that it will accomplish the user requirement as stated in the table. Number of days late Less than 3 days Between 3 days to one week More than 1 week and up to 10 days More than 10 days Fine Charged No charge RM6.00 RM10.00 RM20.00 Expected Output: Number of days late: 2 Your penalty charge is RM0.00 Number of days late: 10 Your penalty charge is RM10.ee or Tips: Use fixed() and setprecision() to display the charge in two decimal point
Step by Step Solution
There are 3 Steps involved in it
To implement this in C with the use of include and cout you can write ... View full answer
Get step-by-step solutions from verified subject matter experts
