ABBREVIATION NAME
Code :
#include<stdio.h>
int main()
{
char fname[40], mname[60], lname[40];
printf("Enter your First name : ");
gets(fname);
printf("Enter your Middle Name : ");
gets(mname);
printf("Enter your Last Name : ");
gets(lname);
printf("\nAbbreviation Name:\n");
printf("%c. %c. %s", fname[0], mname[0], lname);
return 0;
}
Come again Learn again !
< iCodeBuzz />
No comments:
Post a Comment