0
Help on converting a loop
I need to convert a while loop to a for while int count = 0; while (count <50) { cout << "count is " << count << endl; count++; }
1 Réponse
+ 6
for (int count = 0; count < 50; count++)
{
cout << "count is " << count << endl;
}