2. Create a program that will read the date (month, day and year) in integer form and display the date in standard format


Every savings account has an associated interest rate, and annually (assuming we have an annual rate), the rate is multiplied with the current balance to get the amount earned as interest. The amount is added to the current balance to get the new balance
For Example, suppose we have an initial balance of Php 100,000.00 deposited at an interest rate of 10% . After one year, the savings account earns Php 10, 000.00(that's 10% of P100,000.00), so the new balance would be Php 110,000.00 after another year it earns Php 11,000.00 (10% of Php 110,000.00) and the balance would be Php 121,000.00. Another year would make it Php 133,100.00 (Php 121,000.00 + Php 12,100.00)
For your miderm Quiz1 using FILE, write a program that outputs the interest earned and balanace of savings account each year for several years. The program prompts for the following values:
Initial balance
Interest rate, in decimal
Year deposited
Year to be withdrawn
Below is the sample output
Input balance: 100000
and interest rate: 0.10
Input initial year: 1997
Input final year: 2010
You'll need to use loop here.
The output must display in the file name: Account.txt
Draw a Entity Relationship Diagram and show their Degree of Relationship. Use the template in submitting your output, you can use Visio or MSWord as a tool in designing your ERD.
Prob 1
Sample Format:
Value Meal
1] Burger with Drinks Php 52.00
2] Burger with Fries and Drinks Php 68.00
3] Spaghetti with Drinks Php 55.00
4] 1 Pc Chicken with Drinks Php 75.00
5] 2 Pcs Chicken with Drinks Php 150.00
Enter Value Meal : 5
Enter Quantity : 2
Upgrade [Y/N]: Y
Current Bill is: 315
Discount: Enter ‘S’ SC - 20 %
Enter ‘O’ Other Discount – 10 %
Enter Type of Discount: S
Total Bill is: 314.8
Enter Cash: 500
Your Change is : 185.2
Thank You Come Again
Note: Additional 15 pesos if the customer will upgrade his/her order
What is the cardinality and existence of each of the following relationships in just the direction given? State any assumptions you have to make.