Computer Science, asked by srinu893, 10 months ago

Identify the error(s), if any, in the following programs and write them in
correct format.
a) # include
void main ( )
int a, b;
cin << b; < if (a > b) max = a
}
b) # include
void main( )
{
int x, y;
cin >> x ;
for (y = 0 ; y < 10, y ++)
if x = = y
cout << y + x ;
else
cout >> y;
}

Answers

Answered by Anonymous
3

Identify the error(s), if any, in the following programs and write them in

correct format.

a) # include

void main ( )

int a, b;

cin << b; < if (a > b) max = a

}

b) # include

void main( )

{

int x, y;

cin >> x ;

for (y = 0 ; y < 10, y ++)

if x = = y

cout << y + x ;

else

cout >> y;

}

PLEASE MAKE ME AS A BRAINLIST ANSWER BRO

Similar questions