You are on page 1of 3

Topic 1: ATM

1. Create a program that will simulate the Withdrawal and Deposit of the ATM.

CURRENT BALANCE:
Php.7,000.00
PIN CODE:
134340

2. Ask the user to input the correct PIN CODE before the start of the program. If the pin is
correct it will continue to run else if not the program will be terminated..
3. Ask the user to choose mode of service:
Option 1 : WITHDRAW
If the user chooses withdraw, ask him/her to:
 Enter the amount to withdraw: _______, If the amount the user had entered is greater
than the current balance, it will say SORRY INSUFICIENT BALANCE. Thus, the
program will be terminated
- Continue and compute for the amount withdrawn – balance if the amount entered is less
than or equal to the balance.
 Print the current balance and
 Say thank you for transacting with us.

Option 2 : DEPOSIT

 Enter the amount to deposit: _______,

 compute for the amount to deposit + balance

 Print the current balance and


 Thank you for transacting with us.
4. Loop the whole program and ask the user :
 Do you want to try again ?
 If yes : the program will be repeated.
 If no : the program will be terminated.
5. Send the following :
 screenshot of your output.
 copy of your code
6. Get ready for the individual program presentation /defense.
Topic 2: GCASH
1. Create a program that will simulate the Cash in and Cash out on Gcash.

CURRENT BALANCE:
Php.7,000.00
MPIN CODE:
0613

2. Ask the user to input the correct MPIN CODE before the start of the program. If the mpin is
correct it will continue to run else if not, the program will be terminated..
3. Ask the user to choose mode of service:
Option 1 : CASH OUT
If the user chooses cash out, ask the hi,/her to :
 Enter the amount to cashout: _______, If the amount the user had entered is greater than
the current balance, it will say SORRY INSUFICIENT BALANCE. Thus, the program
will be terminated
 Else if the amount entered is less than or equal to the balance, continue and compute for
the cash out – balance
 Print the current balance and
 Thank you for transacting with us.
Option 2 : CASH IN

 Enter the amount to cash in: _______,

 compute for the amount to cash in + balance


 Print the current balance and
 Thank you for transacting with us.
4. Loop the whole program and ask the user :
 Do you want to try again ?
 If yes : the program will be repeated.
 If no : the program will be terminated.
5. Send the following :
 screenshot of your output.
 copy of your code
6. Get ready for the individual program presentation /defense.
Topic 3: SMART GIGA

1. Create a program that will simulate the Smart x BTS Photocard redemption
2. Ask the user to enter their cell number.
3. Ask the user to enter their GigaPoints.
 If there is 99+ GigaPoints already choose between
o Photo Card Set A + 1GB of data valid for 3 days
o Photo Card Set B + 1GB of data valid for 3 days
 Else if they don’t have enough GigaPoints ask them to avail the 1000 load for
additional 98 GigaPoints.
o If they choose YES, ask them to enter their payment. Then add the 98
GigaPoints to their current GigaPoints.
Then let them choose between
Photo Card Set A + 1GB of data valid for 3 days
Photo Card Set B + 1GB of data valid for 3 days
o If they choose NO, the program will be terminated.

4.Loop the whole program and ask the user :


 Do you want to try again ?
 If yes : the program will be repeated.
 If no : the program will be terminated.
5. Send the following :
 screenshot of your output.
 copy of your code
6. Get ready for the individual program presentation /defense.

You might also like