1. Engineering
  2. Computer Science
  3. 5 what is wrong with each of the following statements...

Question: 5 what is wrong with each of the following statements...

Question details

5. What is wrong with each of the following statements? (2 each) a. cin<< score; b. cin>> Enter data c. getline(someString, cin); 6. Correct the following code segment:(4) ifstream inData; string name; cout << Enter the name of the file: ); cin >> name; inFile.open(name);
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution