Ask Question
13 July, 03:14

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 }

+3
Answers (1)
  1. 13 July, 05:18
    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?
Find 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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers