Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include<stdlib.h>
- int main() {
- char nome[50];
- printf("Por favor,digite seu nome:\n");
- gets(nome);
- int i=0;
- int caracter=0;
- do{
- printf("%c\t",nome[i]);
- if(nome[i]!='a' || nome[i]!='e' || nome[i]!='i'
- || nome[i]!='o' || nome[i]!='u')
- caracter++;
- i++;
- }while(nome[i] != '\0');
- printf(",seu nome posui %d caracteres!!!\n\n\n",caracter);
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment