Question: Do this using structs and arrays in C++ Given the Principal (P) amount of loan money, at an Interest Rate (R) per period for Number
Do this using structs and arrays in C++
Given the Principal (P) amount of loan money, at an Interest Rate (R) per period for Number of Time (T) Periods, write a program that computes simple interest on loan using the formula: I = P * R/100 * T. So, your tasks are as follow: 1. Program to compute the Simple Interest (I) on the loans in the sheet below. Add exception handling to the simple interest calculation to show how you would handle exceptions to avoid your program crashing. 2. Print out and present the following information for all customers as follows: Customer Information: Acct. No: ??? Name: ??? (Display format: Last Name, First Name) Address: ??? (Display format: House No, Street, City, State.) Loan Details: Approved Date: ??? (Format: Day-Month-Year) Principal Amount: ??? Interest Rate: ??? Repayment Period: ??? Simple Interest Amount: ??? (Display your result for each customer in the list).
Apply exception handling to the simple interest calculation to show how you would handle exceptions to avoid the program from crashing.

Structure: Customer (This structure contains the rest of the data and nested structures: Address, LoanDate and Loaninfo) Structure: Address (contains Location and CityState) Structure: Location Structure: CityState Structure: Loan Date Structure: Loaninfo Acct. No. First Name Last Name House No Street City State Day Month Year Principal Rate Period (Y) 101 Michael Smith H-1900 Smith Street Atlanta Georgia 10 April 2018 $10,000.00 3.750 12 102 Maria Rodriguez 15A Apartment Lagoon Pennisula Bowie Maryland 14 November 2015 $ 7,000.00 4.230 6 103 James Robert 100 Herolds Street Austin Texas 13 December 2019 $ 4,800.00 11.672 3 104 Kenny Mercedes 238 NewYork Lane Columbus Ohio 10 August 2017 $ 7,200.00 8.345 5 105 Kyndra Hernandez T-1500 Terrace Park Atlanta Georgia 28 April 2020 $ 8,000.00 6.876 7
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
