subject
Engineering, 05.05.2020 22:59 Loggtech24

The problem you are solving is as follows : This program is going to have just one function. Its name will be main. In fact every program in ‘C++’ will have a function called main. The computer needs to know where the execution starts. You need more "components" on top of the program to make it work. (Hint: see the "hello world" example in Module-1C to find out what is missing) int main() { return 0; } Inside those curly brackets and before the return statement you will be typing lots of print statements. cout << "NAME:\t"; cout << "E-MAIL:\t"; cout << "MAJOR:\t"; cout << "COMPUTER EXPERIENCE:\t"; After each of the cout statements given above, write another statement to output the information. So you will have at least eight statements in all. You will submit: the .cpp file with both the code and the output shown as a comment at the bottom, and the .txt file showing the output only, i. e. copy the output from the console and then paste to a .txt file. See instructions in Appendix III of Module 1. Here is a sample of the output and it should look at least like this on the console window:

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Apump is used to circulate hot water in a home heating system. water enters the well-insulated pump operating at steady state at a rate of 0.42 gal/min. the inlet pressure and temperature are 14.7 lbf/in.2, and 180°f, respectively; at the exit the pressure is 60 lbf/in.2 the pump requires 1/15 hp of power input. water can be modeled as an incompressible substance with constant density of 60.58 lb/ft3 and constant specific heat of 1 btu/lb or. neglecting kinetic and potential energy effects, determine the temperature change, in °r, as the water flows through the pump.
Answers: 1
question
Engineering, 04.07.2019 18:10
Burgers vector is generally parallel to the dislocation line. a)-true b)-false
Answers: 2
question
Engineering, 04.07.2019 18:10
Carbon dioxide gas expands isotherm a turbine from 1 mpa, 500 k at 200 kpa. assuming the ideal gas model and neglecting the kinetic and potential energies, determine the change in entropy, heat transfer and work for each kilogram of co2.
Answers: 2
question
Engineering, 04.07.2019 18:10
Shafts are machine elements that are used to a) carry axial loads b) direct shear loads c) transmit power d) rotate at constant speed e) none of the above circular and square shafts subjected to the same torque under the same circum behave a) the same way b) almost the same way
Answers: 2
You know the right answer?
The problem you are solving is as follows : This program is going to have just one function. Its nam...
Questions
question
Mathematics, 29.06.2019 16:30
question
Mathematics, 29.06.2019 16:30
Questions on the website: 13722363