uans-MacBook-Pro:PC yuan Longs./LoancatC nter amount of loan 500 nter Interest rate per year : % 7.5 nter number of payments: 5 ontly payment should be 101.88 22222EAMORTIZATION SCHEDULE 22222222222222322 Payment $101.88 $101.88 $101.88 $101.88 01·88 Principal $98.76 $99.38 $100.00 $100.62 Interest $3.12 $2.51 $1.89 $1.26 Balance $401.24 $301.87 $201.87 $101.25 0.00 101 Note . To convert a string to a float point number, you can use the library function atof . The C program can be implemented within 80 lines of code. If your program is longer than 80 lines, you may need to think about how to simplify your program. Question: 1) Implement this C program by defining a structure for each payment. The structure should have at least three members for the interest, principle and balance separately And store all the payments in a structure array (the max size of which could be 100) Name this C program as loanCalcStruct.c 2) Modify your C program by accepting the three inputs from command line. The first argument is the amount of loan, the second one is the interest rate per year and the last one is the number of payments. Name this C program as loan.c. To run the executable, e.g. you can try the command as below: ./loan 500 7.5 5 Note In your answer sheet, for each C program above please attach a screenshot of the output when amount of loan is $2000, interest rate per year is %7.5 and number of payment is 6. Put the source code of each C program above into your answer sheet Upload the c file ofeach C program above into the submission folder of iCollege.
HOW OUR WEBSITE WORKS
Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of
HIGH QUALITY & PLAGIARISM FREE.
To make an Order you only need to click PLACE ORDER on top of this page and we will direct you to our Order Page at WriteDen. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Deadline range from 6 hours to 30 days.
Once done with writing your paper we will upload it to your account on our website and also forward a copy to your email.
Upon receiving your paper, review it and if any changes are needed contact us immediately. We offer unlimited revisions at no extra cost.
Is it Safe to use our services?
We never resell papers on this site. Meaning after your purchase you will get an original copy of your assignment and you have all the rights to use the paper.
Our price ranges from $8-$14 per page. If you are short of Budget, contact our Live Support for a Discount Code. All new clients are eligible for 15% off in their first Order. Our payment method is safe and secure.
Please note we do not have prewritten answers. We need some time to prepare a perfect essay for you.
Interested in purchasing an essay from us? Click PLACE ORDER on top of this page