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