(c)Rewrite the following code fragment without break and continue :while(Ch!= '*'){ if(Ch == '?')break;if(Ch!= '\n')continue;a++; }
Answers
Answered by
7
while(ch!='*' && ch!='?') {
if(ch=='\n') {
a++;
}
}
Similar questions