Answered step by step
Verified Expert Solution
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.
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
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/07/669bfdba1dd52_065669bfdb9af20c.jpg)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
![blur-text-image](https://dsd5zvtm8ll6.cloudfront.net/includes/images/document_product_info/blur-text-image.webp)
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](https://dsd5zvtm8ll6.cloudfront.net/includes/images/document_product_info/blur-subtext-image.webp)
Step: 3
![blur-text-image](https://dsd5zvtm8ll6.cloudfront.net/includes/images/document_product_info/blur-subtext-image.webp)
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started