0

With keyboard input symbol.depending on which character is entered to print one of the following messages:
"It is a figure!"
"This is a letter!"
"This is not a number and not the letter!"

I can't write this programm and please help me if you can.... Thank a lot ...I will hope your reply...

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by kes166
0

I'll give you a hint. If you read in as a character, cast it to an int, and work with it based on it's ascii value, you can easily work with it using if statements.

Edited by kes166: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.