Untitled
public html v1 · immutable string chaine; for(int i=0;i<1000;i++){ if(i<10) {cout<<"000"<<i<<endl;} if(i<100 && i>10) cout<<"00"<<i<<endl; if(i<1000 && i>100) cout<<"0"<<i<<endl; } string chaine; for(int i=0;i<1000;i++){ if(i<10) {cout<<"000"<<i<<endl;} if(i<100 && i>10) cout<<"00"<<i<<endl; if(i<1000 && i>100) cout<<"0"<<i<<endl; }