Answers for "converting a for loop to a while loop C++"

C++
0

converting a for loop to a while loop C++

for(int k=0, sum=0; k<5; k++)
    {
        sum +=k;
        cout<<sum<<" "<<k<<endl;
    }
Posted by: Guest on October-16-2021
-1

how to make a while Loop in c++

Console.WriteLine("By the time that For loops exist...");
Console.WriteLine("While loops are TRAAAAAAAAAAAAAAASH");
Posted by: Guest on November-19-2020

Browse Popular Code Answers by Language