How many inputs does this problem have

Assignment Help Basic Computer Science
Reference no: EM131394613

A C++ program is required that calculates and displays the weekly gross pay and net pay of two employees. The first employee is paid an hourly rate of $16.43, and the second is paid an hourly rate of $12.67. Both employees have 20% of their gross pay withheld for income tax, and both pay 2% of their gross pay, before taxes, for medical benefits.

a. For this programming problem, how many outputs are required?

b. How many inputs does this problem have?

c. Write an algorithm for converting the input items into output items.

d. Test the algorithm written for Exercise 7c, using the following sample data: The first employee works 40 hours during the week, and the second employee works 35 hours.

Reference no: EM131394613

Questions Cloud

What things must be shown in order to establish a violation : What things must be shown in order to establish a violation under the general duty clause of the OSH Act? How are each of these elements satisfied in this case?
Criticize given statement on statistical grounds : Is it reasonable to say that there's a correlation between the type of car you own and the risk that it will be stolen?
Disney cruise line is a popular tourism operator : Disney Cruise Line is a popular tourism operator in the global market offering services related to ship cruises. Tourism industry has seen dramatic changes since a decade period and the economic crisis has shown huge impact on the tourism sector that..
Is it appropriate to calculate the correlation : Does the scatterplot indicate that it is appropriate to calculate the correlation? Explain.- In fact, the correlation of Speed and Drop is 0.91. Describe the association.
How many inputs does this problem have : A C++ program is required that calculates and displays the weekly gross pay and net pay of two employees. The first employee is paid an hourly rate of $16.43, and the second is paid an hourly rate of $12.67.
How could this dispute have been avoided in the first place : What law will the court apply? In most states, what will result? How could this dispute have been avoided in the first place? Assess fully.
Is it appropriate to calculate the correlation : Is it appropriate to calculate the correlation? Explain.- The correlation is 0.898. Explain what we have learned about the results of these experiments.
Develop the strategic objectives for your new division : Develop the strategic objectives for your new division of the existing business in a balanced scorecard format in the context of key trends, assumptions, and risks.
Summarize the strength of association with a correlation : In a study of streams in the Adirondack Mountains, the following relationship was found between the water s pH and its hardness (measured in grains):- Is it appropriate to summarize the strength of association with a correlation? Explain.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Dentist office database

This database is being created for the receptionist/manager of a dentist's office. The office has one dental assistant and one dentist.  Each performs various procedures and each procedure has a specific cost.

  Display the contents of the distance variable

Convert the following pseudocode to C++ code. Be sure to define the appropriate variables.

  Operating a successful business

Why is knowing the surrounding market important to operating a successful business? What would be your marketing plan based on the current neighborhood situation?

  Participation in the world trade organization

In your opinion, do you believe the United States' participation in the World Trade Organization (WTO) is positive or negative for American businesses? What are your thoughts on the benefit and challenges of the raft of legal obligations imposed o..

  Network devices that participate on the network

1. Inventory the current devices on the network. Gather rough counts, manufacturers, and models of the NICs, switches, routers, and other network devices that participate on the network.

  Construct an e-r diagram for a car insurance company

Construct an E-R diagram for a car insurance company that has a set of customers,each of whom owns one or more cars. Each car has associated with it zero to any number of recorded accidents

  Write some code that swaps their values

Given two int variables, firstPlaceWinner and secondPlaceWinner , write some code that swaps their values. Declare any additional variables as necessary.

  Describe the slope in situation

A. Shelly has $250 in her savings account. She spends $30 per week. Describe the slope in this situation. B. Dino's pizza charges $15 for a large pizza plus $2 per topping. What does the y-intercept represent in this situation?

  Design a good device interface standard

Discuss why it is so difficult to design a good device interface standard. Provide a detailed example to support your findings. Include a question that responding students can reply to within your initial post

  What is the size of a char and a string

What are the sizes in memory of other data types in C++? I mean, I know that a double is 8 bytes and an int is 4 bytes. What is the size of a Char and a String?

  Example of a real-time application that is intolerant/rate

give an example of a real-time application that is intolerant/rate adaptive.

  Draw a type hierarchy to represent this situation

Draw a type hierarchy (classes and interfaces) to represent this situation. Indicate which types are concrete classes, abstract classes, and interfaces.

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