Skip to content

Instantly share code, notes, and snippets.

@jmichalenko
Created February 13, 2024 00:29
Show Gist options
  • Save jmichalenko/951c2d98f339cd5fe31dd21eef29b0c0 to your computer and use it in GitHub Desktop.
Save jmichalenko/951c2d98f339cd5fe31dd21eef29b0c0 to your computer and use it in GitHub Desktop.
CS50 Labs Do While Loops
#include <cs50.h>
#include <stdio.h>
int main(void)
{
int number;
// write your do-while loop here to accept input between 0 and 10
printf("Thank you for the %i!\n", number);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment