output of the following c++ coding
.
for(n=1;n<10;++n)
{
cout<<"HAI";
if(n==4)
break;
cout<<n;
}
.
correct answer will be marked by brainliest.......
Answers
Answered by
0
Hai will be printed four times likes this :
HAI HAI HAI HAI
because the loop will break when condition is fulfilled.
HAI HAI HAI HAI
because the loop will break when condition is fulfilled.
Similar questions
Political Science,
4 months ago
Social Sciences,
4 months ago
English,
9 months ago
Math,
9 months ago
Math,
1 year ago
Psychology,
1 year ago