The expression bc 2 c 1 may result in an errorall variabl
The expression ((b/c == 2) && (c > 1)) may result in an error(all variables are ints). Correct it (as simply as possible) so that it doesn\'t.
Solution
Please use below highlighted expression :
#include <iostream>
using namespace std;
int main ()
{
int b=6,c=3;
if(((b/c)==2) && (c>1))
cout << \"True\";
else
cout << \"False\";
return 0;
}
