subject
Engineering, 22.02.2020 02:52 toddb4955

The following program has syntax errors. Correct them. On each successive line, assume that any preceding error has been corrected.

#include

using namespace std;

int main()

{

int temp;

string first;

cout << "Enter first name: ;

cin >> first

cout << endl;

cout << "Enter last name: ;

cin >> last;

cout << endl;

cout << "Enter today"s temperature: ";

cin >> temperature;

cout << endl;

cout << first << " " << last << today"s temperature is: ";

<< temperature << endl;

return 0;

}

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Water in a partially filled large tank is to be supplied to the roof top, which is 8 m above the water level in the tank, through a 2.2-cm-internal-diameter pipe by maintaining a constant air pressure of 300 kpa (gage) in the tank. if the head loss in the piping is 2 m of water, determine the discharge rate of the supply of water to the roof top in liters per second.
Answers: 3
question
Engineering, 04.07.2019 18:10
Manometers are good examples of measuring instruments, nowadays they are not as common as before. a)-capacitive probe gauges b)-gravitational gauges deformation ) gauges d)-digital gauges
Answers: 1
question
Engineering, 04.07.2019 19:10
Estimate the change in specific internal energy au and specific enthalpy h from inlet to outlet for ethylene glycol (a liquid) flowing through each of the following devices: (a) a heat exchanger where the glycol temperature increases from 20 °c to 80 °c; (b) a pump operating at about 25 °c and increasing the glycol pressure from 100 kpa to 8 mpa.
Answers: 2
question
Engineering, 04.07.2019 19:20
List 3 options on how to reduce knocking problens during engine process,
Answers: 2
You know the right answer?
The following program has syntax errors. Correct them. On each successive line, assume that any prec...
Questions
question
Computers and Technology, 15.12.2020 19:00
question
Mathematics, 15.12.2020 19:00
Questions on the website: 13722362