Engineering
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

answer
Answers: 2

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, 19deleonl
Coiled springs ought to be very strong and stiff. si3n4 is a strong, stiff material. would you select this material for a spring? explain.
Answers: 2
image
Engineering, 04.07.2019 18:10, kevin72836
Consider a large isothermal enclosure that is maintained at a uniform temperature of 2000 k. calculate the emissive power of the radiation that emerges from a small aperture on the enclosure surface. what is the wavelength ? , below which 10% of the emission is concentrated? what is the wavelength ? 2 above which 10% of the emission is concentrated? determine the wavelength at which maximum spectral emissive power occurs. what is the irradiation incident on a small object placed inside the enclosure?
Answers: 2
image
Engineering, 04.07.2019 18:10, katelynn73
Atmospheric air has a temperature (dry bulb) of 80° f and a wet bulb temperature of 60° f when the barometric pressure is 14.696 psia. determine the specific humidity, grains/lb dry air. a. 11.4 c. 55.8 d. 22.5 b. 44.1
Answers: 1
image
Engineering, 04.07.2019 18:20, safiyabrowne7594
Ahe-xe mixture containing a 0.75 mole fraction of helium is used for cooling electronics in an avionics application. at a temperature of 300 k and atmospheric pressure, calculate the mass fraction of helium and the mass density, molar concentration and molecular weight of the mixture. if the cooling capacity is 10 l, what is the mass of the coolant?
Answers: 3
Do you know the correct answer?
CSC 155Computer Science ILab 6 Student NameSection InstructorDue Date PROJECT Commission Function Ap...

Questions in other subjects: