Compute and display a person’s weekly salary

Assignment Help Basic Computer Science
Reference no: EM131399180

(Data Processing)

a. Write a C++ program to compute and display a person's weekly salary as determined by the following conditions: If the hours worked are less than or equal to 40, the person receives $8.00 per hour; otherwise, the person receives $320.00 plus $12.00 for each hour worked over 40 hours. The program should request the hours worked as input and display the salary as output.

b. How many runs should you make for the program written in Exercise 4a to verify that it's operating correctly? What data should you input in each program run?

Reference no: EM131399180

Questions Cloud

How a plc could be used for control the operation : Using the equipment provided you are to demonstrate how a PLC could be used for control the operation for an elevator. The elevator has a button on each floor to call the elevator to that floor.
Bureau of printing and engraving to print : Why the Federal government doesn't order the Bureau of Printing and Engraving to print enough extra currency to cover all of these property losses due to natural disasters and give it to the storm victims so they can get things back to the way ..
Find money you would need to pay for additional resources : If you started a business that made surfboards, what factors of production would you need to make your product? Where would you get them? Where would you find the money you would need to pay for additional resources?
Sense of social responsibility : Discuss either two (2) civil liberties or two (2) civil rights events (past or current) that have influenced a sense of social responsibility in the American government today. Provide examples to support your answer. Note: In your response, consid..
Compute and display a person’s weekly salary : How many runs should you make for the program written in Exercise 4a to verify that it's operating correctly? What data should you input in each program run?
Cracteristics of services is the reason for eat : The number of customers who dine at Eat and Den, a restaurant, varies during weekdays and weekends. On days when customer traffic is less, Eat and Den incurs losses because the food prepared on one day will not be fresh the next day. In this scenario..
Particular type of breach of contract : You are an appellate judge. The issue on appeal is whether the appropriate ruling is to grant expectations, reliance or restitution damages for a particular type of breach of contract.
Explain why both strict liability and negligence : Explain why both strict liability and negligence (with the correct standard of care) are efficient when the appropriate action removes all harm to third parties, but only strict liability is efficient when there is residual harm.
What data should you input in each program run : How many runs should you make for the program written in Exercise 3a to verify that it is operating correctly? What data should you input in each program run?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  How can we use both karnaugh maps

How can we use both Karnaugh maps and DeMorgan equivalences to better understand systems we build?

  Show the transaction between the client and the server

Using RFC 1939, assume a POP3 client is in the download-and-delete mode. Show the transaction between the client and the server if the client has only two messages of 230 and 400 bytes to download from the server.

  Create a class named weatherreport

Accumulate rain and snow in the summary object. Write a main()function that creates a month-end weather report from the 30 daily reports. Save the file as WeatherReport.cpp.

  Carbon dioxide into the atmosphere

The burning of fossil fuels (oil, coal, natural gas) releases carbon dioxide into the atmosphere. Carbon dioxide is known as a greenhouse gas because it tends to trap heat in the atmosphere,

  Assignment on mobile app work breakdown structure

Create a Gantt chart for the project. Take a screenshot of the Gantt chart which can later be inserted into your written paper.

  Significant questions software installed by cable personnel

Interesting post on the computer discussion site (Slashdot) raises some significant questions about software installed by cable personnel.

  Which factors significantly affect uec

Analyze the data from this experiment. Which factors significantly affect UEC?

  Write the function linecount

Write the function linecount that reads text files (.txt) and gives you number of lines in the file.

  Determine whether there are any cycles

Investigate the transition table of Fig. P9.6 and determine all race conditions and whether they arc critical or noncritical. Also determine whether there are any cycles.

  What is the hit ratio

What is the cost of 1 MByte of main memory?

  Section of the marketing plan

You will create a complete Marketing Plan by the end of the course. You will write the third section of the Marketing Plan for this assignment. Use the Marketing Plan guide to identify the sections of the Marketing Plan and the marketing elements ..

  Question regarding the cost-benefit analysis

Suppose that you are interested in buying yourself a new computer. Create a cost-benefit analysis that illustrates the return on investment that you would receive from making this purchase.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd