For making the first program using inputs from the user I ask some questions to our teacher Kenneth William and he answered some questions and use some websites as references like:
http://www.cprogramming.com/tutorial/modulus.html
and
http://www.cplusplus.com/doc/tutorial/basic_io/
At the end I ended up with the program running, you can see it at the following
images.