Answered step by step
Verified Expert Solution
Question
1 Approved Answer
dhf I am not sure if i'am doing this coding right. can you please edit it? // This program is to create an output file
dhfI am not sure if i'am doing this coding right. can you please edit it?
// This program is to create an output file containing a customized loan amortization table. int main (void) I printf"Enter the loan amountn") scanf( "Present value: ") printf("Enter the yeaarly rate of intereat:in" scanff ("rateof intrest: " rate of interest-(rate of interest/00)/2 pxiri "Enter the number payments: " scanf ("nurber of payments: ") //Calculate EMI per payment /VEMI Calculation (double present value, double rate of interest, int nim of interest), double SEMI) EMT-rate of intersest present value )/(1-pow(rate of interset), (-1aum of paymenta))) printf("Enter tho output filo namo to which you want to print the tablon scanffile nane: n" double interest-pV rol; if (interest0) interest- double principal-i - intorost: if (principal ) principal pV-p principal if (pVStep 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