Answered step by step
Verified Expert Solution
Question
1 Approved Answer
int main ( ) { float loan = 0 . 0 ; float interest = 0 . 0 ; int years = 0 ; printf
int main
float loan ;
float interest;
int years;
printfEnter loan amount : ;
scanff&loan;
printffloan;
printf
Enter years : ;
scanfd&years;
printfEnter interset rate : ;
scanff&interest;
if years
printfInterest ratef
interset ;
loan ;
printfLoan plus interest f
loan;
printfInterest rate powpow r t ;
else
printfd
years;
printfprogram enhanced by Abel Asegid";
return ;
Q is i want the code to dispay the monthly paymnt on the output please?
the loan amount is
years
rate
please make sure your calculation is accurate.thank you
Step 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