Page 609 - Computer science 868 Class 12
P. 609
Output of the preceding program is as follows:
Enter Account Number: 001
Enter Principle Amount: 850000
Main Menu
Press 1 to check Simple Interest
Press 2 to check Compound Interest
Press 3 to Exit
Please Enter Your Choice: 1
Rate: 6
Time: 3
The Account Number is 1
The Principle Amount is Rs.850000.0
The Rate of Interest is 6.0and Time is 3.0
Simple Interest: 153000.0
Main Menu
Press 1 to check Simple Interest
Press 2 to check Compound Interest
Press 3 to Exit
Please Enter Your Choice: 2
Rate: 3
Time: 2
The Account Number is 1
The Principle Amount is Rs.850000.0
The Rate of Interest is 3.0 and Time is 2.0
Compound Interest: 51765.0
Main Menu
Press 1 to check Simple Interest
Press 2 to check Compound Interest
Press 3 to Exit
Please Enter Your Choice: 3
THANK YOU!
607
Internal Assessment 607

