Last active
July 28, 2017 04:43
-
-
Save OxiBo/6cf46e1bd1af1c4a5bd224fcef7d79a6 to your computer and use it in GitHub Desktop.
CS50 week 1 water
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
/** | |
* CS50 week1 Water | |
*/ | |
#include <stdio.h> | |
#include <cs50.h> | |
int main(void) | |
{ | |
printf ("Minutes:"); | |
int minutes = get_int(); | |
int bottles=minutes*12; | |
printf ("Bottles: %i\n", bottles); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment