Computer Science, asked by Mothun, 4 months ago

Predict the output of the given programs. Assume the

header files are given

a) void main( )
{
int a=15;
if(a>10)
{
if(a=16)
cout<<``Block 1``;
else if(a>14)
cout<<``Block 2``;
}
else
cout<<``Else Block``;
}






Answer me!!!!​

Answers

Answered by jeromeseejo73
0

Answer:

a is greater than 10

a>14 so the output will be :

Block 2

Similar questions