Friday, June 20, 2014

Search vowels in a string

#include<stdio.h>
void header()
{
    printf("\n\n\n\n\n\n\n\t\tBUILT AND DESIGNED BY >> ARSLAN UD DIN SHAFIQ\n\n\t\tWebsite>>\twww.CWorldbyAS.blogspot.com\n");
    printf("\n\t\tCOMSATS Institute of Information Technology,\n\n\t\t\t\t\t  Lahore , Pakistan\n\n\n");
}
int main()
{
    char name[100]={0};
    header();
    system("pause");
    system("cls");
    printf("Enter String : ");
    scanf("%[aeiou]",name);
    printf("\n%s",name);
}

No comments:

Post a Comment