Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I have done this workshop but the output of the circled number should be 0.30 instead of 0.29, what can I change to get that
I have done this workshop but the output of the circled number should be 0.30 instead of 0.29, what can I change to get that answer because it off by 2-3 fractional cents. I have tried changing %f to %lf but still the same result.
Update I changed rate=0 to double and it became .30 but changed 17666.18 to 1766.19. What else can I change to get all the correct answers?
File Edit View Git Analyze Tools Extensions Window Help Search (CtrlO P Projects JK Project Build Debug Test -- Debug x86 - Loxal Windows Debugger . Live Share - Clobal Scope) - Traini + Source.cpp + X Projects 5 { 6 7 9 18 11 12 13 float rate - e, loannt, intRate, monthlyPay, monthlyIntRate, first, second, third, remaining; int i; printf("Enter amount of loan: "); scanf("%f", &loanant); printf("Enter interest rate: "); scanf("flintilato); printf("Enter monthly payment: "); scanf("%f monthlyDay); 14 15 16 17 18 19 29 21 22 monthly In Lale = intale / 1200; printf("%-65 11:512-X125X12s", "Month", "Balance", "Interest", "Payment", "Remaining"); for (i = 1; iStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started