fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int dd = 1, mm = 2, yy = 3;
  6. printf("%02d - %02d - %02d", dd, mm, yy);
  7. return 0;
  8. }
Success #stdin #stdout 0s 15232KB
stdin
Standard input is empty
stdout
01 - 02 - 03