bank_program_final - /* * Zornberg, Giselle * gzz57 * 15750...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Sheet1 Page 1 /* * Zornberg, Giselle * gzz57 * 15750 * EE312-Assignment 2 */ /* This program creates a simplified loan banking system that can either calculate and report the estimated monthly installmen * a required loan principal for a loan of a given term or, recognizing that the customer may want to pay more than the EMI ea c h * can calculate the way that the monthly payments correspondingly decrease over the term of the loan. * The program will continue to run until the user enters a bad input value or requests the end of the program by entering '3'. */ #include <stdio.h> main() { int term,user_input float principal_loan_amount, estimated_montly_payment, prepay, balance, payment for ( /*Print out greeting of EE312 Bank and give the bank's options*/ printf("Good morning and welcome to the EE312 Bank! Please select from the following choices\n") printf("Press 1 to calculate the EMI for a new loan.\n") printf("Press 2 to calculate payment amounts for prepaying a loan.\n") printf("Press 3 to to exit.\n")
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 6

bank_program_final - /* * Zornberg, Giselle * gzz57 * 15750...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online