Initial set of scripts

This commit is contained in:
2015-08-08 21:04:55 -07:00
parent 362f74cd7e
commit 4f119844fd
21 changed files with 577 additions and 0 deletions

15
C files/99bottles Executable file
View File

@ -0,0 +1,15 @@
#include <stdlib.h>
#include <stdio.h>
int main(void)
{
unsigned int bottles = 99;
do
{
printf("%u bottles of beer on the wall\n", bottles);
printf("%u bottles of beer\n", bottles);
printf("Take one down, pass it around\n");
printf("%u bottles of beer on the wall\n\n", --bottles);
} while(bottles > 0);
return EXIT_SUCCESS;
}