Create a project named sort following these steps using ‘sort’ instead of projectName

Create a project named sort following these steps using ‘sort’ instead of projectName
From your home directory
cd CS12-Labs
git pull
cd template
./createProject projectName
cd ../projectName
make
./projectName
You should see CS12 print out
Create a program that:
Accepts 5 characters from user (keyboard)
Reverses the order
Sorts the characters
The program will perform the following:
Print CS12 to the screen
Query the user “Input 5 Characters”
Read in the characters
faced
Print ‘Reverse’ then the characters in reverse order
Reverse
decaf
Print ‘Sorted’ then the characters in sorted order
Sorted
acdef Note: Reverse and sort requirements are described below
Reverse
The output of your reverse should be exactly the reverse of the input characters
Characters set:
a-z, A-Z, 0-9
Examples
abcde yields edcba
ApPle yields elPpA
AbCdE yields EdCbA
1a2B3 yields 3B2a1
13579 yields 97531


Buy plagiarism free, original and professional custom paper online now at a cheaper price. Submit your order proudly with us



Essay Hope