apter2-1 4) Implement this C prograny 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.

COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
1st Edition
ISBN:9780357392676
Author:FREUND, Steven
Publisher:FREUND, Steven
Chapter5: Working With Multiple Worksheets And Workbooks
Section: Chapter Questions
Problem 4AYK
icon
Related questions
Question
C program
12:20
al 5Gº O
d2/le/content/2354341/viewContent/46295972/View
Maps O w1-chapter2-1
Appendix:
1. Calculating the monthly payment.
(Note: The following instruction is from http://www.vertex42.com/
ExcelArticles/amortization-calculation.html)
The formula for calculating the payment amount is shown below.
r(1+r)"
A = B
(1+r)" – 1
where
A= payment Amount per period (monthly payment)
B= initial Balance (loan amount)
r= interest rate per period
n= total number of payments or periods
Example 1: What would the monthly payment be on a 5-year, $20,000 car loan with a
nominal 7.5% annual interest rate?
B = $20,000
r = 7.5% per year / 12 months = 0.625%= 0.00625 per period
n = 5 years * 12 months = 60 total periods
0.00625 (1+0.00625 )60
A = 20000 *
= 400.76
(1+0.00625 )60-1
Transcribed Image Text:12:20 al 5Gº O d2/le/content/2354341/viewContent/46295972/View Maps O w1-chapter2-1 Appendix: 1. Calculating the monthly payment. (Note: The following instruction is from http://www.vertex42.com/ ExcelArticles/amortization-calculation.html) The formula for calculating the payment amount is shown below. r(1+r)" A = B (1+r)" – 1 where A= payment Amount per period (monthly payment) B= initial Balance (loan amount) r= interest rate per period n= total number of payments or periods Example 1: What would the monthly payment be on a 5-year, $20,000 car loan with a nominal 7.5% annual interest rate? B = $20,000 r = 7.5% per year / 12 months = 0.625%= 0.00625 per period n = 5 years * 12 months = 60 total periods 0.00625 (1+0.00625 )60 A = 20000 * = 400.76 (1+0.00625 )60-1
12:19
al 5Gº O
Don't S x
O HW2
O assemb x C Progr. x
My Disc x
(A) Respons x
d Kieta H
4341/viewContent/46295972/View
apter2-1
4) Implement this C progran vý 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.
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 mumber of payment is 6
• Put the source code of each C program above into your answer sheet.
• Upload the c file of each C program above into the submission folder of iCollege.
bmssion:
Transcribed Image Text:12:19 al 5Gº O Don't S x O HW2 O assemb x C Progr. x My Disc x (A) Respons x d Kieta H 4341/viewContent/46295972/View apter2-1 4) Implement this C progran vý 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. 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 mumber of payment is 6 • Put the source code of each C program above into your answer sheet. • Upload the c file of each C program above into the submission folder of iCollege. bmssion:
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 1 images

Blurred answer
Knowledge Booster
Functions
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning