Joined
Last Seen
-1 Reputation Points
- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
0 Endorsements
Ranked #107.71K
1 Posted Topic
Re: getString
#include<iostream.h> #include<conio.h> #include<string.h> #include<stdio.h> void main() { int count=0; const int arraysize=100; char name[arraysize]; cout<<"Enter your name: "; gets(name); int size=strlen(name);//find the size of your name cout<<"\n\n"<<endl; for(int i=0;i<size;i++) { switch(name[i]) { case 'a': case 'A': count++; break; case 'e': case 'E': count++; break; case 'i': case 'I': count++; break; …
The End.
ALi Nuces