Created
February 12, 2024 23:57
-
-
Save jmichalenko/79bf838155545dbf527ea523e186ce92 to your computer and use it in GitHub Desktop.
CS50 placeholders 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) | |
{ | |
// declare a string animal and get user input | |
string animal = get_string("Enter a a type of animal: "); | |
// declare a celestial body and get input | |
string body = get_string("Enter a celesial body: "); | |
// declare a number and get input | |
float number = get_float("Enter a number with a decimal: "); | |
// write your printf statement here | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment