void main ( )
{
int a = 10, b = 6, c= = 7;
if (a>b a<c &&b<c)
cout << "welcome to c++",
else
cout << "Bye";
}
what will be its output??
Answers
Answered by
2
void main ( )
{
int a = 10, b = 6, c= = 7;
if (a>b a<c &&b<c)
cout << "welcome to c++",
else
cout << "Bye";
}
Answered by
3
Answer:
there is a minor syntax error near bold part see
after fixing this
void main ( )
{
int a = 10, b = 6, c= = 7;
if (a>b || a<c &&b<c)
cout << "welcome to c++",
else
cout << "Bye";
}
it will output
welcome to c++
Similar questions