# Answer to Question #70259 in C++ for AQRehman

Question #70259

The simple interest on a loan is calculated by the formula:

interest = principal * rate * days / 365;

The preceding formula assumes that rate is the annual interest rate, and therefore includes the division by 365 (days). Develop a pseudo code program that will input principal, rate and days for several loans, and will calculate and display the simple interest for each loan, using the preceding formula and also draw flow chart of your program. Here is a sample input/output dialog:

Enter loan principal (-1 to end): 1000.00

Enter interest rate: .1

Enter term of the loan in days: 365

The interest charge is $100.00

Enter loan principal (-1 to end): 1000.00

Enter interest rate: .08375

Enter term of the loan in days: 224

The interest charge is $51.40

Enter loan principal (-1 to end): -1

interest = principal * rate * days / 365;

The preceding formula assumes that rate is the annual interest rate, and therefore includes the division by 365 (days). Develop a pseudo code program that will input principal, rate and days for several loans, and will calculate and display the simple interest for each loan, using the preceding formula and also draw flow chart of your program. Here is a sample input/output dialog:

Enter loan principal (-1 to end): 1000.00

Enter interest rate: .1

Enter term of the loan in days: 365

The interest charge is $100.00

Enter loan principal (-1 to end): 1000.00

Enter interest rate: .08375

Enter term of the loan in days: 224

The interest charge is $51.40

Enter loan principal (-1 to end): -1

Expert's answer

Dear AQRehman, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed:

**Submit order**Need a fast expert's response?

Submit orderand get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

## Comments

## Leave a comment