By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,819 Members | 1,459 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,819 IT Pros & Developers. It's quick & easy.

rewrite the following for statement as an equivalent while statement

P: 2
Expand|Select|Wrap|Line Numbers
  1. for (i+0;i<max_length;i++)
  2.  if (input_line[i]=='?') 
  3. quest_count++;
1 Week Ago #1
Share this Question
Share on Google+
1 Reply

P: 103
That's some basic thing. By looking at the syntax of both loops, equivalent code can be written.
1 Week Ago #2

Post your reply

Sign in to post your reply or Sign up for a free account.