Question: Using Visual Studio, create a program that outputs numbers in ascending and descending order using a loop. The program should start by asking the user

Using Visual Studio, create a program that outputs numbers in ascending and descending order using a loop.
The program should start by asking the user for a beginning point above 0. First count from 0 to their number. Then count from there number back down to 0.
For example, if the user entered 5. The program would first count:
0..1..2..3..4..5
Then it would count backwards to 0 from 5:
5..4..3..2..1..0
Create a word document using the Course Template for the submission. Take screen shots showing at least 2 runs. One number should be an odd number and one number should be an even number. Place the screen shots into your submission document.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!