How to write the program that prints out all positive integers between 1 and given number , alternating between the two ends of the range?
How to write the program that prints out all positive integers between 1 and given number , alternating between the two ends of the range? Question: The program should work as follow: Please type in a number: 5 1 5 2 4 3 My code doesn’t do the same. I think there is should be …