Arithmetic+Operators

media type="custom" key="27759457"


 * Questions**

Write pseudocode for the following:

1. Game score (a) Decide on a suitable variable name for a player's game score (b) Initialise the player's game score to 0 (c) Add 50 to the score (d) Subtract 20 from the score

2. Birthday (a) Decide on a suitable variable name to store the user's age (b) Initialise the user's age to 16 (c) Add 1 to the user's age

3. Banking (a) Decide on a suitable variable name to store a user's bank balance (b) Initialise the user's balance to 500 (c) The user withdraws 50 (d) The bank pays interest of 5%. (i) Calculate the interest (multiply the balance by 5/100) (ii) Add the interest to the original balance