#include<stdio.h>
int main()
{
int age;
char name [20];
printf("Enter your name\n");
scanf("%s",&name);
printf("Enter your age\n");
scanf("%d",&age);
if (age<40)
{
printf("hello %s welcome to youth party club",name);
}
else
{
printf("hello %s welcome to old party club ",name);
}
return 0;
}
01
Comments
Post a Comment