23 lines
271 B
C
23 lines
271 B
C
|
|
#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");
|
||
|
|
}
|