Created
February 13, 2024 00:23
-
-
Save jmichalenko/bae01a210b514741f4b7e396a9675ca0 to your computer and use it in GitHub Desktop.
CS50 Labs While Loops Starter Code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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