Q : Write a program to calculate number of vowels (a,e,i,o,u) separately in an entered string.?
Solution :
#include<stdio.h>
void main()
{
int a,e,i,o,u,index;
char str[50];
a=e=i=o=u=0;
printf("Enter string>>
");
gets(str);
for(index=0;str[index]!='\0';index++)
{
switch(str[index