Asked on 11 Mar 2020

which line in the following program will cause a compiler error?

#include<iostream>
using namespace std;
 
int main()
{
int number =5;
if (number>=0&&<=100)
cout<<"passed.\n";
else
cout<<"failed.\n";
return 0;
}

Answered on 11 Mar 2020

Unlock this answer

Get 1 free homework help answers
Access 3.7 million verified answers.
Get access
Already have an account? Log in