I'm writing a code that uses file input to write out dates... the output needs to look like this...
-----------------------------------------
# First Second Older?
-----------------------------------------
1. 05/23/1979 02/16/1972 Second
2. 05/07/1955 03/02/1956 First
3. 08/16/1961 07/18/1961 Second
4. 02/20/1950 01/24/1950 Second
5. 05/31/1983 05/05/1983 Second
6. 04/16/1994 04/21/1994 First
7. 03/29/1945 03/29/1945 Same
8. 10/15/1956 10/13/1955 Second
9. 11/11/1919 12/11/1919 First
10. 01/02/2002 01/02/2002 Same
-----------------------------------------
but my dates keep turning out like:
--------------------------------------
# First Second Older?
--------------------------------------
1. 5/23/1979 2/16/1972 Second
2. 5/7/1955 3/2/1956 First
3. 8/16/1961 7/18/1961 Second
4. 2/20/1950 1/24/1950 Second
5. 5/31/1983 5/5/1983 Second
6. 4/16/1994 4/21/1994 First
7. 3/29/1945 3/29/1945 Same
8. 10/15/1956 10/13/1955 Second
9. 11/11/1919 12/11/1919 First
10. 1/2/2002 1/2/2002 Same
--------------------------------------
So I was wondering how to put the 0's in front of the single digit numbers.