I'm working on a program... pretty much completed it except that theres a tad boo-boo that I can't figure out.
Basically, I was told that when I input (scanf) more than 1 zero, it would display (printf) only one zero unless I did something like %0d.
This is part of what I have:
Now let's just say that I've inputed 000 for value1 and 00 for value2.Code:printf ("%0d Some text here %0d", value1, value2);
This would result into:
"0 Some text here 0"
What I need to achieve is:
"000 Some text here 00"
Anyone know what I'm doing wrong? I'm positive all the printf variables are at %0d.