while(n--)

0

while(n--)

By Beginner Lindsey Stokes at Nov 11 2020

-1

bash while loop n times

By Beginner Stanley O'Reilly at Apr 05 2021

0

npm ERR! Unexpected end of JSON input while parsing near '...b6g9K7Af3lGVtZbZd4b\n'

By Wooden Hammer Sherri Schimmel at May 24 2021

0

Given an int variable n that has already been declared and initialized to a positive value, use a do...while loop to print a single line consisting of n asterisks. Use no variables other than n.

By Beginner Toby Breitenberg at Oct 14 2020

0

void insertionsort(int * a, int n) { int i, j, x; for (i = 1; i < n; i++) { x = a[i]; j = i - 1; while (j >= 0 && a[j] > x) { a[j + 1] = a[j]; j = j - 1; } a[j + 1] = x; } }

By Beginner Maxine Rempel at Sep 24 2020

0

keep looping = “a” user input = “y” while (keep looping == “y”): print (“hello world!”) user input = input(“would you like me to keep printing hello world? (y/n)”)

By Beginner Harvey Abernathy at Apr 11 2021


Related code examples


Code examples by languages