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

Convert the following while loop into a while loop

P: 1
int count = 0;
while (count++ <50)
Cout << "Count is" << count << endl;
Sep 4 '10 #1
Share this Question
Share on Google+
2 Replies

Expert Mod 5K+
P: 9,197
Your post does not make sense. The code is already in a while loop.
Sep 4 '10 #2

P: 542
I think you may have caught the dreaded Capitalitis virus which causes Cout<< instead of cout<<. Change this and it may print 50 lines.
Sep 14 '10 #3

Post your reply

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