I am guessing that you are asking us for a whole solution. So you do not have any codes. Well, you can start with simple cout and cin operations, and after user enters an input, you can check whether it is a low case or $ etc. Try to make this work. If you can't, post your code to forum and some forumers shall help ya:)