Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #107.41K
~4K People Reached
Favorite Forums
Favorite Tags
c++ x 1
Member Avatar for jepapel

I have the following code: #include <iostream> using namespace std; int main () { char alphabet[]="abcdefghijklmnopqrstuvwxyz"; char word; cout <<"Please input a word: " <<endl; cin >> word; int res = -1; for (int i = 0; alphabet != '\0'; i++) { if (alphabet == word) { res = i; …

Member Avatar for slumburock
0
4K