I am reading an ebook, teaching myself all the languages i'm starting with c++, i don't understand these problems and the ebook isn't very detailed. I'm studying Classes, Structures, and Objects.
Is it possible i can see an example program like this or be given a better reference
5. Ups and Downs
Write a program that displays the word UP on the bottom line of the screen a couple of
inches to the left of center and displays the word DOWN on the top line of the screen a
couple of inches to the right of center. Moving about once a second, move the word UP up
a line and the word DOWN down a line until UP disappears at the top of the screen and
DOWN disappears at the bottom of the screen.
6. Wrapping Ups and Downs
Modify the program you wrote for Programming Challenge 5, so that after disappearing
off of the screen, the word UP reappears at the bottom of the screen and the word DOWN
reappears at the top of the screen.The words should continue moving until the user presses
the [Enter] key to terminate the program