Please can you tell me where I've gone wrong !!!
thanks Sam
#include<stdio.h>
#include<stdlib.h>
#include<ctype.h>
#include<string.h>
int main()
{
char array[80]; // input array
int i=0; // loop counter 1
int vo=0; // vowels
int co=0; // consonents
int ot=0; // other characters
printf("please enter string\n");
fflush(stdin);
gets(array);
while(i!=80)
{
if(isalpha(array[i]))
{
if(array[i]==(('a')||('A')||('e')))
{
vo++;
}
else
{
co++;
}
}
else
{
ot++;
}
}
printf("%d vowels, %d characters\n",vo,co);
system("pause");
}