Computes the average of five exam scores

Assignment Help C/C++ Programming
Reference no: EM13695747

Answer the following parts:

Question:
Part 1: Write a program that calculates and prints the take-home pay for a commissioned sales employee.

Perform a compile-time initialization and store the name of Nesbith Lang in a variable called employeeName.

Nesbith earns 7% of her total sales as her commission. Her federal tax rate is 18%.

She contributes 10% to a retirement program and 6% to Social Security. Her sales this month were $161,432.

- Produce a formatted report showing the amount for each of the computed items. Select appropriate constants.

After you finish displaying Nesbitch Lang's data, change the values and rerun and application.

Part 2: Write a program that computes the average of five exam scores.
• Declare and perform a compile-time initialization with the five values.
• Use a constant to define the number of scores.
• Print all scores and the average value formatted with no digits to the right of the decimal.
• Rerun the application with different values.
Please evaluates and prints the take-home and finds the average of five exam scores Show me all the working and provide the answer. 

Reference no: EM13695747

Questions Cloud

What is the smallest exponent : In storing number in a string of 16 bits, the first bit is used for the sign of the number, and the next 5 bits store the exponent plus the bias, and the remaining 10 bits store the mantissa. The bias is 15.
What type of biological compound is characterized : Question- What type of biological compound is characterized by an aldehyde or ketone and alcohol functional groups
Metal window boxes are manufactured in two process steps : Metal window boxes are manufactured in two process steps: stamping and assembly. Each window box is made up of three pieces: a base (one part A) and two sides (two part Bs). The parts are fabricated by a single stamping machine that requires a ..
Determine the henry''s law constant for co2 at temperature : Question- The concentration of CO2 in a soft drink bottled with a partial pressure of CO2 of 6.5 atm over the liquid at 29°C is 2.2 × 10-1 M. Determine the Henry's law constant for CO2 at this temperature.
Computes the average of five exam scores : Write a program that calculates and prints the take-home pay for a commissioned sales employee and write a program that computes the average of five exam scores.
The equilibrium constant for triiodide formation from iodine : Question- The equilibrium constant for triiodide formation from iodine and iodide is about 700. The extinction coefficients of iodine and triiodide at the absorption maximum of triiodide are about 16 and 25,000 respectively.
Feet of baling wire each day to secure bundles of newspapers : A newspaper publisher uses roughly 880 feet of baling wire each day to secure bundles of newspapers while they are being distributed to carriers. The paper is published Monday through Saturday. Lead time is six workdays. What is the appropriate..
Calculate the theoretical yield for k2nica9(no2)6 : Question- Calculate the theoretical yield for K2NiCa9(NO2)6 from the reaction of 4.3794 g KNO2, 1.2875 g of NiCI2*6H2), and 0.567 g of CaCI2*2H20
What would be the coding for this process : If I have a panorama, and want to stitch the 3 photos together perfectly (just lining them up along the edges to create one long photo, no matching needed), what would be the coding for this process?

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Consider the following schema of an online flight

consider the following schema of an online flight reservation agency.customercid lastname firstname dobflightfid

  Program that asks the user to enter up to 100 integer score

Write a C program that asks the user to enter up to 100 integer scores, which are to be stored in an array. (You should allow the user to terminate input prior to entering all 100 scores.) The program should then display all the scores, ten per line,..

  Program to add numbers and display sum

For each of problems write C++ code to do the required task. Receive the number and find out whether it is odd or even.

  Write a function name is prime

Write a function name is Prime, which takes an integer as an argument and returns true if the argument is a prime number, or false otherwise. Demonstrate the function in a complete program.

  Program that reads in the average monthly

Write a program that reads in the average monthly rainfall for a city for each month of the year and then reads in the actual monthly rainfall for each of the previous 12 months. The program then prints out a nicely formatted table showing the rainfa..

  Creates an array of six divsales objects

Write a program that creates an array of six DivSales objects. The program should ask the user to enter the sales for four quarters for each division. After the data are entered, the program should display a table showing the division sales for ..

  Write a program that will read in 2 numbers per line

1.Write a program that will read in 2 numbers per line, and print the sum. You program should work for any number of lines of data.

  Write a program that will be used to gather statistical data

Write a program that will be used to gather statistical data about the number of movies

  Write a program that will calculate the percentage

Write a program that will calculate the percentage wins of a team. The program will input the number of wins and losses that a team acquired during a season. The wins should be input in a parameter-less value returning function that returns the wi..

  Program that asks the user to enter the monthly costs

write a program that asks the user to enter the monthly costs for the following expenses incurred from operating his or her automobile:

  Generate two files of 100 by 100 mazes

Write a C++ program that opens a file representing an encoded maze and reads it

  The stack parameters will not be const reference

In this second case, the stack parameters will not be const reference parameters because they are temporarily changed before being restored. As an alternative, the parameters could be value parameters (so that changing them does not affect the act..

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