1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Tcecarenko [31]
3 years ago
12

Write a c++ application that computes gross salary for Mr.A,given that during the interview session and before started work, it

was agreed that his hourly wage would be Ghs 47. Assume that he worked for 387 hrs and he resigned. Compute also his Net salary given the under listed information:
Taxes. Value. Tax1. 4.7%ofgross. Tax2. Gh 87. Tax3. 3.2% ofgross. Tax4. Gh 3. Tax5. 0.4 of gross. Given that extra dispensation is given to employees in the form of bonuses. Compute the take home pay from the table below.

Net salary. Bonus.

0-10. 5% of net value.
11-500. 10% of net value
501-1000. Ghs 500
1001-2000. Ghs 600
Above 2000. 5% of net salary
Computers and Technology
1 answer:
Vesnalui [34]3 years ago
4 0

Answer:

# include <iostream>

using namespace::std;

int main()

{   int hrs;

float hrly_rate= 47;

double net_Sl;

float t1;

float t2;

float t3;

float t4;

float t5;

double grss_Pay;

float bons;

   cout<<"Enter number of hours worked";

   cin>>hrs;

   net_Sl= 47 * 387;

       t1 = (4.7 * net_Sl)/100;

       t2= 87;

       t3=(3.7 * net_Sl)/100;

       t4=3;

       t5=(0.47 * net_Sl)/100;

       grss_Pay= net_Sl- t1 - t2 -t3 - t4 - t5;

       float tmp=grss_Pay;                  

       double in_hnd;

       if (grss_Pay<10)

       {

           bons= (5 * grss_Pay)/100;

           in_hnd=grss_Pay+bons;

           grss_Pay=grss_Pay-grss_Pay;

       }

       else if (grss_Pay>10 ||grss_Pay<500)

       { bons= (10 * grss_Pay)/100;

         tmp=grss_Pay-grss_Pay;

         in_hnd=in_hnd+bons;

       }

       else if (grss_Pay>500|| grss_Pay<1000)

       { bons= 500;

         grss_Pay=grss_Pay-grss_Pay;

         in_hnd=in_hnd+bons;

       }

       else if (grss_Pay>1000 || grss_Pay<=2000)

       { bons= 600;

         grss_Pay=grss_Pay-grss_Pay;

         in_hnd=in_hnd+bons;

       }

       else if (grss_Pay>2000)

       { bons= (5 * grss_Pay)/100;

         grss_Pay=grss_Pay-grss_Pay;

         in_hnd=in_hnd+bons;

       }

        cout<<"Final Salary"<<in_hnd;

        return 0;

}

Explanation:

Please check the answer section.

You might be interested in
The network administrator has configured the enterprise firewall to permit port 21 to allow FTP transfers to occur from outside
mars1129 [50]

Answer:

The answer is "Port 20 must be authorised, along with Port 21."

Explanation:

It could be used to transfer data all machines on a computer, as only the title suggests. It can be used to exchange information across user accounts, transfer data to the server software records.

  • The firewalls use network enterprise to described as stand-alone IPSec and VPN, which provide extensive gateway and control capability to secure network connections.
  • It provides the set up for the system administrator, which enables the port 21 for FTP payments within the company.
7 0
3 years ago
Can someone help my friend play over-watch she new do it. I can't help her on Friday (p.s she play on Xbox she will get it on Fr
ss7ja [257]

There should be a place on the Xbox where you can download games. Go there and type in overwatch.

Hope this helped!

5 0
3 years ago
An air purifier manufacturer is looking for ideas on using edge computing to enhance its products and services. Which approach w
Mariana [72]

We have that  an air purifier manufacturer can apply  edge computing technologies is inventory management.

<h3> Air purifier manufacturer and  edge computing</h3>

Question Parameters:

Generally,Edge computing is computing and storing resources at the data  production area.

Hence, An air purifier manufacturer can apply  edge computing technologies is inventory management as it will aid incoming and outgoing inventory assessment on production grounds.

For more information on Technology

brainly.com/question/25274620

5 0
2 years ago
Read 2 more answers
A wet-carpet cleaner that carries its own water supply has water pressure created by a        A. faucet mixing valve.   B. manua
BARSIC [14]
Your answer is most likely C. motor-driven pump
5 0
3 years ago
You are considering upgrading from Office 2010 to Office 2013. Which of the following is NOT true of either Office 2010 or Offic
Dmitry [639]

office 2013 can intergrute directly with the cloud

5 0
3 years ago
Other questions:
  • A ______________ is a document created when planning resource management to help promote teamwork and clarify team communication
    13·1 answer
  • URGENT!! You decide not to use any recipes or information from the "Don't Be an Animal Murderer" Web site. What characteristic o
    7·2 answers
  • You are performing a manual WLAN RF site survey in a location that has several long hallways with small offices on both sides. Y
    8·1 answer
  • A(n) _________ website contains factual information, such as libraries, encyclopedias, dictionaries, guides, and other types of
    8·1 answer
  • Which type of attack broadcasts a network request to multiple computers but changes the address from which the request came to t
    11·1 answer
  • True or false: a game design document is like a diary for game developers
    13·2 answers
  • What should you include in a persuasive speech
    14·1 answer
  • Please help i will give you brainelst answer part B thank you!!!!!!!!!!!!!1
    13·1 answer
  • What is shotgun microphone?
    7·1 answer
  • What is sytem software?
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!