subject
Engineering, 07.04.2020 21:51 irenecupcake4348

CSC 155Computer Science ILab 6 Student NameSection InstructorDue Date PROJECT Commission Function ApplicationObjectiveTo write, compile and execute a simple program that uses a function. PROJECT DESCRIPTIONCharles receives a salary of $2,500 per month. He also receives a 5% commission for sales over $15,000. Last month’s sales were $75,000. Write, compile and execute a program that uses a function to calculate Charles’ gross pay. Information About This ProjectThis project involves utilizing a decision / selection structures such as a block if-else statement. It also demonstrates the use of a function to perform calculations. Steps To Complete This ProjectSTEP 1Open MS Visual C++ and Write the Program CodeOpen Visual C++ on your computer. Write the program code that willallow the user to enter the necessary input items and then use these items to compute the required output value(s). Use the following instructions. Save your code in a file named:Commission. cppSTEP 2Open the Initial Program CodeFirst, type the code shown below, which consists of a preprocessing directive and a main() method. Figure 1 Program Code for the C++ Commission Function Application//Commission Application: Sammy Student Programmer#includeusingnamespace std; //preprocessing directive(s)//place function prototype hereint main(){//declare local variableschar name[30];int num = 0; double commission = 0;double salary = 0; double s

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:10
An air conditioning system consist of a 5 cm diameter pipe, operating at a pressure of 200 kpa. the air initially enters the pipe at 15°c with a velocity of 20 m/s and relative humidity of 80%. if the heat supply throughout the process is 960 w, determine the relative humidity and the temperature at the outlet
Answers: 3
question
Engineering, 04.07.2019 18:10
Determine whether or not it is possible to compress air adiabatically from k to 140 kpa and 400 k. what is the entropy change during this process?
Answers: 3
question
Engineering, 04.07.2019 18:10
Slip occurs via two partial dislocations because of (a) the shorter path of the partial dislocation lines; (b) the lower energy state through partial dislocations; (c) the charge balance.
Answers: 1
question
Engineering, 04.07.2019 18:10
Water at the rate of 1 kg/s is forced through a tube with a 2.5 cm inner diameter. the inlet water temperature is 15°c, and the outlet water temperature is 50°c. the tube wall temperature is 14°c higher than the local water temperature all along the length of the tube. what is the length of the tube?
Answers: 3
You know the right answer?
CSC 155Computer Science ILab 6 Student NameSection InstructorDue Date PROJECT Commission Function Ap...
Questions
question
Social Studies, 12.02.2021 21:30
Questions on the website: 13722367