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
0
Answer:
a is greater than 10
a>14 so the output will be :
Block 2
Similar questions
History,
1 month ago
Math,
1 month ago
Political Science,
1 month ago
Economy,
3 months ago
Math,
3 months ago
Social Sciences,
8 months ago
Math,
8 months ago
Math,
8 months ago