10 digits per line

Noob here. I'm having a problem outputting 10 digits per line on part of my program. I'll post part of the program. Any help would be appreciated!
1
2
3
4
5
6
7
case 1:{ cout << "Counting 10 numbers per line. \nEnter a good number to count to (1-100): " ;
					cin >> num;
					for (count = 1; count <= num; count++)
					cout << count << " ";

					break ;}
Last edited on
What issue are you having? Also, is count declared earlier in your program? If not, you're missing an int somewhere on line 3.

-Albatross
Topic archived. No new replies allowed.