Computer Science, asked by sapnasamsherohlan, 6 months ago

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 5honey
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 da4729204
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