C++ for loop to do while?
a person convert to get loop for you to do-while loop on c++
int payment = 0;
for( int we = 0; we <5; i++)sum += we;
cout << payment;
with thanks; )
int payment = 0;
int we = 0;
whilst (i<5)
payment += we;
cout << payment;
i++
Leave a Reply
You must be logged in to post a comment.