Answers for "print 1 to 10 in c using while loop"

C
0

print 0 1 2 3 4 in c while loop

int k=0;

while (k <= 5)
{
    printf("%d", k);
    k = k + 1;
}
Posted by: Guest on April-23-2021

Code answers related to "C"

Browse Popular Code Answers by Language