I was wondering what would be the best way to have my output with spaces it shows up like: 112221987 9112009
and i would like it to show 11 22 1987 9 11 2009
if possable just for the sake of looks my code is:
cout<<"Beginning Date: "<<bmonth<< bday<< byear<<endl;
cout<<"Ending Date: "<<emonth<< eday<< eyear<<endl;
cout<<"Elapsed Days: "<<360*(eyear-byear)+(30*(bmonth-1)+bday)+30*(emonth-1)+(eday-1)<<endl;
any help would be great thanks.