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
The answer to the question is available in the PDF file https://www.assignmentexpert.com/https://www.assignmentexpert.com/homework-answers/programming-answer-53591.pdf
Comments
Leave a comment