Answered step by step
Verified Expert Solution
Link Copied!

Question

...
1 Approved Answer

Question 1 The Ghana Navy has been paying its newly employed staff on table-top', a practice that has attracted much criticism from the military command.

image text in transcribed
Question 1 The Ghana Navy has been paying its newly employed staff on "table-top', a practice that has attracted much criticism from the military command. On a trial basis they have engaged your services to design a payment system with the following functionalities a. Request for only name and rank to be entered into the system. (2 marks) b. Use the table below to compute the net-salary which is Gross Salary - Tax (3 marks) Name Rank Gross Salary Tax (% of Gross Salary) Net Salary Sargent 2500 2.7 Major 4800 5.8 Captain 6800 8.3 c. Display results (2 marks) d. Explain how your code can be modified to request for at least 10 inputs before it computes the results (3 marks) NB: Use the right variable declaration for your variables

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals of Financial Accounting

Authors: Fred Phillips, Robert Libby, Patricia Libby

5th edition

978-0078025914

Students also viewed these Accounting questions