You must write a program in c++ that will output the numbers 1through n where n is a user input value. For example with input
10
output would be
1 2 3 4 5 6 7 8 9 10
Seems simple enough, however, to successfully complete thisexercise, your code cannot use conditionals (if, while, for,boolean operators, etc.).
Expert Answer
An answer will be send to you shortly. . . . .