Import
This commit is contained in:
commit
55dd6701c6
10 changed files with 485 additions and 0 deletions
22
code/diy.c
Normal file
22
code/diy.c
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#include <stdio.h>
|
||||
#include <strings.h>
|
||||
|
||||
void winner()
|
||||
{
|
||||
printf("You win\n");
|
||||
}
|
||||
|
||||
void whoareyou()
|
||||
{
|
||||
char name[250];
|
||||
|
||||
printf("What's your name? ");
|
||||
gets(name);
|
||||
printf("\nHello, %s\n", name);
|
||||
}
|
||||
|
||||
int main()
|
||||
{
|
||||
whoareyou();
|
||||
printf("You lose\n");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue