Mwalimu savings society (MSS) Pays 5% interest on shares exceeding 100,000 shillings and 3% on shares that do not meet this target. However, no interest...

      

Mwalimu savings society (MSS) Pays 5% interest on shares exceeding 100,000 shillings and 3% on shares that do not meet this target. However, no interest is paid on deposits in the member’s MSS bank account
a) Design a pseudo code for a program that would:
i) Prompt the user for shares and deposit of particular members
ii) Calculate the interest and total savings
iii) Display the interest and total savings on the screen for particular members of the society.
b) Draw a flowchart for the above pseudo code.

  

Answers


Kavungya
a)START
PRINT “Enter member Name, share and Deposit”
INPUT Name, Shares, Deposit
IF shares > 100,000 THEN
Interest = 0.05 x Shares
ELSE
Interest = 0.03 x Shares
ENDIF
Total savings =Deposit + shares +Interest
PRINT Name, Total savings, Interest
STOP

b)fig1662019916.png
Kavungya answered the question on April 16, 2019 at 13:26


Next: Highlight the roles played by the Government in Promoting business incubation.
Previous: Mutson Chemist is based on the Basic and additional benefits. Employees with more than 10 year’s experience get an additional pay of 10% of their...

View More Computer Studies Questions and Answers | Return to Questions Index


Exams With Marking Schemes

Related Questions