Skip to content

Commit

Permalink
Create greeting.c
Browse files Browse the repository at this point in the history
  • Loading branch information
caption committed Oct 12, 2019
1 parent f32469f commit 86c152b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions C/greeting.c
@@ -0,0 +1,10 @@
#include <stdio.h>

int main(){
char name[20];

printf("What's your name: ");
scanf("%s", name);
printf("Greetings %s!", name);
return 0;
}

0 comments on commit 86c152b

Please sign in to comment.