Skip to content

Instantly share code, notes, and snippets.

@jmichalenko
Created February 12, 2024 23:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmichalenko/79bf838155545dbf527ea523e186ce92 to your computer and use it in GitHub Desktop.
Save jmichalenko/79bf838155545dbf527ea523e186ce92 to your computer and use it in GitHub Desktop.
CS50 placeholders starter code
#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