I'm in an Intro to Software Development course at FIT and I have a homework assignment that I have no idea what to do about. Can anyone help? Do I need to use ASCII? If so, how?
Here's the assignment:
Write a program to accept a string as input from the user.
The program should verify that the input string contains nothing but alphabets.
If the string is not valid, the program should ask the user to input it again.
The program should automatically sort the characters in the string in ascending order (A-Za-z), and display it.
Thanks in advance!
-Lauren
Here's the assignment:
Write a program to accept a string as input from the user.
The program should verify that the input string contains nothing but alphabets.
If the string is not valid, the program should ask the user to input it again.
The program should automatically sort the characters in the string in ascending order (A-Za-z), and display it.
Thanks in advance!
-Lauren
Comment