Find the errors in these C++ statements.
1. #include>conio.h<
2. Clrscr()
3. Cin<<a
4. Cout>>a
5. Getch(;
6. For (c=1; C++)
7. While (c<21);
8. Cout<<"welcome;
Answers
Answered by
4
Explanation:
Cout>>a
5. Getch(;
Hope it helps U
Answered by
9
Answer:
1. is wrong
correct: #include<conio.h>
2. wrong
correct: clrscr();
3. wrong
correct: cin>>a;
4. wrong
correct: cout<<a
5. wrong
correct: getch();
6. wrong
correct:(c=1; c<n;c++)
7. wrong
correct:while (c<21)
{}
8. wrong
correct: cout<<"welcome";
Similar questions