1. Engineering
  2. Computer Science
  3. 5 type compile and run the following program explain the...

Question: 5 type compile and run the following program explain the...

Question details

5. Type, compile, and run the following program. Explain the output based on your observation. #include<iostream> using namespace stod int main(void) coutくぐMondayくくendl; cout< Tuesday In; system(pause); system (cls); coutくぐWednesdayくくendl; coutくぐThursdayくくendl; system(pause); system (cls); system(pause) cout< Friday<Cendl; cout<< Saturdayくくendl; coutくぐSundayくくendl system(pause); return 0;
6. Use the following program to do the following: Find how many errors there are. What are those errors? Correct the program; then type, compile, and run the corrected program #include iostream” using name space std main() Cout<January Cout<t February t Marchn system(pause) coutくぐint Aprilくくendl; coutt May June system pausc cout< nlt Julyendl; cout< t August<endl; cout t September In System (pause) cout<< t October t Novemberendl cout< December In system(pause); Return 0;
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution