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
Afluid flows with a velocity field given by v=(x/t)i.. determine the local and convective accelerations when x=3 and t=1.
Answers: 2
question
Engineering, 04.07.2019 18:10
A-mn has a cubic structure with a0 0.8931 nm and a density of 7.47 g/cm3. b-mn has a different cubic structure, with a0 0.6326 nm and a density of 7.26 g/cm3. the atomic weight of manganese is 54.938 g/mol and the atomic radius is 0.112 nm. determine the percent volume change that would occur if a-mn transforms to b-mn.
Answers: 2
question
Engineering, 04.07.2019 18:20
Have a greater impact on maintenance productivity than any other support group. (clo5) a)-the top management b)-inventory and purchasing c)-sub-contracting d)-cmms
Answers: 2
question
Engineering, 04.07.2019 18:20
Steam enters a converging nozzle at 3.0 mpa and 500°c with a at 1.8 mpa. for a nozzle exit area of 32 cm2, determine the exit velocity, mass flow rate, and exit mach number if the nozzle: negligible velocity, and it exits (a) is isentropic (b) has an efficiency of 94 percent
Answers: 2
You know the right answer?
CSC 155Computer Science ILab 6 Student NameSection InstructorDue Date PROJECT Commission Function Ap...
Questions
Questions on the website: 13722360