You are to write a C++ program which does the following:
Reads in a the size of a list of characters.
Reads in the list of characters.
Prints the list of characters in the opposite order read in.
Prints the list of characters in the order read in.
Sorts the list.
Prints the sorted list.
You may assume there will be no more than 1000 characters in the list. (You should use a constant to make this limit easily changeable.)
You MUST write at least three functions (in addition to 'main') in your program.
I would've posted what I have done till now but I am such a newbie that I barely did the first part and I have no idea what to do next. Can anybody provide me with a sample or anything related to it which I can study? The pdf files I have don't even scratch the surface of what I need to learn. Thank you! I want to do it myself and yes I surfed online about the issue in hand and thus landed here eventually.
Please enter the size of the list: 10
Please enter next character: Y
Please enter next character: o
Please enter next character: u
Please enter next character: n
Please enter next character: g
Please enter next character: s
Please enter next character: t
Please enter next character: o
Please enter next character: w
Please enter next character: n
LIST in reverse order
n
w
o
t
s
g
n
u
o
Y
LIST in normal order
Y
o
u
n
g
s
t
o
w
n
LIST in sorted order
Y
g
n
n
o
o
s
t
u
w
Does this help?