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, 03.07.2019 15:10
Apiston-cylinder with a volume of 0.25 m3 holds 1 kg of air (r 0.287 k/kgk) at a temperature of 100 c. heat transfer to the cylinder causes an isothermal expansion of the piston until the volume triples. how much heat is added to the piston-cylinder?
Answers: 3
question
Engineering, 03.07.2019 15:10
If you were designing a bumper for a car, would you prefer it to exhibit elastic or plastic deformation? why? consider the functions of a bumper in both a minor "fender-bender" and a major collision.
Answers: 1
question
Engineering, 04.07.2019 18:10
For the closed feedwater heater below, feedwater enters state 3 at a pressure of 2000 psia and temperature of 420 °f at a rate of ix10 ibhr. the feedwat extracted steam enters state 1 at a pressure of 1000 psia and enthalpy of 1500 btu/lbm. the extracted er leaves at an enthalpy of 528.7 btu/lbm steam leaves as a saturated liquid. (16) a) determine the mass flow rate of the extraction steam used to heat the feedwater (10) b) determine the terminal temperature difference of the closed feedwater heater
Answers: 3
question
Engineering, 04.07.2019 18:10
What are the two (02) benefits, which may result from a successful implementation of preventive maintenance (pm) program in an organization? (clo3)a)- lean manufacturing b)-overlapping responsibilities c)-the planner is not qualified d)-accurate contractor information e)-reduction in equipment redundancies f)-accurate stores information
Answers: 3
You know the right answer?
CSC 155Computer Science ILab 6 Student NameSection InstructorDue Date PROJECT Commission Function Ap...
Questions
question
Mathematics, 16.11.2020 09:00
question
Mathematics, 16.11.2020 09:00
Questions on the website: 13722363