I can do this problem fine with MarkNumber(char [3]); but I'm not sure if that is what he means. Marknumber(char); will only read one digit, right?
1 2 3 4 5 6 7 8
Write a function MarkNumber(char) that takes an input character
between 0 and 127 then outputs a string of numbers in the following form
Input Output
0 0
9 0123456789
19 01234567890123456789
25 01234567890123456789012345
ascii values go up to 127 and extended ascii values go to 255, and these integers are what's behind the char, so you just need one char like he said MarkNumber(char) and then convert this into an integer and then loop to that point printing every value.
Remember that a char is an integer type. When you cout and cin characters, the computer treats them specially to produce/read text that humans understand, but they are still just numbers.