forked from HasiniUththara/Hacktoberfest2020-Task1
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgram.c
More file actions
20 lines (18 loc) · 640 Bytes
/
Program.c
File metadata and controls
20 lines (18 loc) · 640 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <stdio.h>
int main()
{
char name,city,country,age,skill;
printf("Welcome to Hacktoberfest 2020\n");
printf("Enter your name : ");//Get User name
scanf("%s",&name);
printf("Enter your Country of Residance : ");//Get user country
scanf("%s",&country);
printf("Enter your city :");
scanf("%s",&city);
printf("Enter your Age : ");//Get user Age
printf("%d",&age);
printf("Rate your programmings skills from A-D (A being the highest and D being the lowest : ");//Get user skill level
scanf(" %c",&skill);
scanf("Thank you %c Happy Hacking",country);//Thank the user
return 0;
}