Ask Question
12 August, 05:12

Which line in the following program will cause a compiler error? 1 #include 2 using namespace std; 3 int main () 4 { 5 int number = 5; 6 if (number > = 0 && < = 100) 7 cout << "passed./n"; 8 else 9 cout << "failed./n"; 10 return 0; 11 }

+1
Answers (1)
  1. 12 August, 09:07
    0
    Line 1

    Explanation:

    Line one is not complete. It should have been #include This line tells the compiler to use the input and output header file for this program, the iostream header file contains the functions necessary for output statements used in 7 and 8
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Which line in the following program will cause a compiler error? 1 #include 2 using namespace std; 3 int main () 4 { 5 int number = 5; 6 if ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers