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

  Write a c program that reads a data file of floating numbers

Write a program that reads a data file of floating numbers into an array and prints the array elements along with the number of items in the array

  Function that returns the height of a binary tree

Write a function called getHeight() that returns the height of a given binary tree - CptS 122 Write a function called countSmallerThan() that returns the number of nodes whose values are smaller than the supplied input paramter

  Calculate and display the area of the rectangle

Calculate and display the area of the rectangle and the total price of the tile. Add comments in code section. Code this program in java programming.

  Variables should be private and the class functions public

All the class variables should be private and the class functions public. The class functions should be implemented in a file Inventory.cpp which should be linked with the inventory.hpp file.

  Execute the next line which is enter your last name

C++ in VS and I'm trying to run the following program. As soon as I put in my name after the 2nd cout statement, the program ends.

  Random permutations

Write a program in C++ that gives a prompt to the users, asking for an integer M.It then prints out a M different random permutations, one on each of M lines, of the numbers 1, 2, ... , 10, separated by spaces or tabs.

  Program loops and if conditions write a program that

program loops and if conditions write a program that requests a password after the authorprogram information is

  Prints out a multiplication table up to a specification

Create a program using C++ that prints out a multiplcation table up to a specfic limit. The code should prompt the user for the limit and then print out the table.

  Write a c++ function that removes and counts all occurrences

Write a C++ function that removes and counts all occurrences of a given string from such a bag. Your function should return this number.

  Describe the purpose of the hierarchical nature of

q1. explain the purpose of the hierarchical nature of traditional structured design.q2. describe what kinds of systems

  Program to store lists of names and ages in parallel arrays

Write a C++ program that stores lists of names (the last name first) and ages in parallel arrays and sorts the names into alphabetical order keeping the ages with the correct names.

  Write code that declares an int array named month

Write code that declares an int array named month with 5 rows and 7 coloumns and initializes every element to -1.

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