Using loop variable write the numbers 1-10 vertically, please help?
Hello, I need help with c++. I need to writre numbers 1-10, vertically, using a loop. Idk how to do this, plz give me a simple program using loop to do this
- justmeLv 76 years agoFavorite Answer
Seems pretty simple.
You need a loop.
Make it count from 1 to 10 inclusive.
In that loop, write out the number.
Oh, and dont forget the newline after each one!
Not too difficult is it?