All pastes #78736 Raw Edit

Mine

public c v1 · immutable
·published 2006-07-04 14:23 UTC
rendered paste body
#include <stdio.h>#include <string.h>char FindFirstVowel (char *string);int IsVowel(char x);main(){	char *word;	char vowel;	printf("Please enter a word: ");	scanf("%s", word); 	vowel=FindFirstVowel(word);	printf("\nThe first vowel is %c.\n\n", vowel);	}char FindFirstVowel (char *string){	for(string; *string != '\0'; string++)	{		if(IsVowel(*string))			return(*string);	}	return (0);}int IsVowel(char x){	if(x== 'a' || x== 'e' || x== 'i' || x== 'o' || x== 'u' || x== 'A' || x== 'E' || x== 'I' || x== 'O' || x== 'U')		return(1);	else		return(0);}