User profile: Hengry

User info
User name:Hengry
Old user name:personxd1
Number of posts:227
Latest posts:

Erase integer
You should probably use a for loop and check whether it's even or odd using %. Then you count and pr...

If statements, multiple choices
You have [code]return 0;[/code] after every statement, but you only need [code]return 0;[/code] once...

Undeclared identifiers?
You don't have a variable [code]int selection[/code] in your main

Assignment question
You can use isalpha, isdigit and length for the first part. For the other two parts there's not a ...

for-loop (problem)
Inside your loop condition, you're checking for [b]userInput[/b] but the input is inside the loop. ...