Skip to content

Instantly share code, notes, and snippets.

@jmichalenko
Created February 13, 2024 00:23
Show Gist options
  • Save jmichalenko/bae01a210b514741f4b7e396a9675ca0 to your computer and use it in GitHub Desktop.
Save jmichalenko/bae01a210b514741f4b7e396a9675ca0 to your computer and use it in GitHub Desktop.
CS50 Labs While Loops Starter Code
#include <cs50.h>
#include <stdio.h>
int main(void)
{
int n = get_int("Enter a number: ");
int counter = 0;
// add your code here
printf("Your number can be doubled %i times before reaching 100!\n", counter);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment