13
answers
2
watching
249
views

You have decided to start a savings account because you would like to go on holiday with a friend 
and you need to keep track of your deposits, interest paid, balance and tax liabilities. Your goal is 
to save for three months.
You have spent some time comparing various savings options to get the most growth out of your 
savings. That means the higher the interest rate, the more your money will increase. The savings 
account you have chosen offers the best interest rates which are based on a sliding scale on the 
balance of your account. 
Definition: A sliding scale is a system in which the interest rate which is paid changes because of 
other conditions. For example: 
• The more money you earn, the more tax you must pay; 
• The more money you invest in savings, the higher interest rate you will receive.
VALUE OF SAVINGS ACCOUNT BALANCE INTEREST RATE 
(per month)
Less than R2 000 2%
Greater than or equal to R2 000 but less 
than R5 000
4%
Greater than or equal to R5 000 6%
The South African Revenue Services (SARS) will deduct 25% tax of the interest paid into your 
account each month (from the profit you make every month), i.e., the interest paid to you by the 
bank.
Write the pseudocode for the following scenario. 
The input into the program will be:
• Account number (numeric)
• Amount of the deposit (numeric)
• Month (numeric)
22; 23 2023
© The Independent Institute of Education (Pty) Ltd 2023
Page 4 of 7
The program must do the following:
• Ask the user to enter the account number twice and compare the two account numbers to 
each other in order to verify that the correct account is being accessed. This is to ensure 
you will make your deposit into the correct account. If the two account numbers entered 
do not match, then display an appropriate message and ask the user to re-enter the two 
account numbers again. 
• The minimum monthly deposit is R500. Check that the deposited amount is R500 or more. 
If it is less than R500, then the program must prompt you to re-enter an amount to deposit 
until you specify an amount of R500 or more.
• Use a case structure to convert the numeric month to a string month name. 
o E.g., 1 will be January and 2 will be February, etc. 
• Check the account balance against the range of values to determine the interest rate (from 
the table above).
• Calculate the interest payable and add the interest payable to your account balance.
• Calculate the tax due to SARS (25%) and deduct this from your account balance. 
• Print out a balance statement each time you make a deposit so you can keep track of your 
account balance. The balance statement must include the following information: 
o Opening Balance; 
o Deposit; 
o Interest Earned; 
o Tax due to SARS;
o Closing Balance

For unlimited access to Homework Help, a Homework+ subscription is required.

Unlock all answers

Get 1 free homework help answer.
Already have an account? Log in
Already have an account? Log in
Already have an account? Log in
Already have an account? Log in
Already have an account? Log in
Already have an account? Log in
Already have an account? Log in
Already have an account? Log in
Already have an account? Log in
Already have an account? Log in
Already have an account? Log in
Avatar image
Read by 1 person
Already have an account? Log in
Avatar image
Read by 1 person
Already have an account? Log in

Related questions

Related Documents

Weekly leaderboard

Start filling in the gaps now
Log in