S
S
Stanislav Babaev2015-11-27 10:01:19
C++ / C#
Stanislav Babaev, 2015-11-27 10:01:19

How to write while instead of for?

please help, I need to use while instead of for.
for (int i = 1; i <= 32; ++i)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Stolyarov, 2015-11-27
@lycorp

int i = 1;
while(i<=32)
{
// your code

i++;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question