well, here's what I have thus far. can you tell me if i'm on the right track or not? i dont exactly know how to use the isdigit or isalpha statements.
#include "conio.h"
#include "stdio.h"
#include "iostream.h"
#include "ctype.h"
void main()
{
char addup,dothis;
int lettercnt;
clrscr();
cout << "Please enter a bunch of characters, puncuation, or numbers: \n";
cin >> addup;
addup = getch();
{
switch(addup)
{
case 'a'||'e'||'i'||'o'||'u':
lettercnt++;
break;
}
{
cout << "You typed this many characters: " << lettercnt;
}
getch();
}
}