Exercice en c++
Résolu
scofield.med
Messages postés
10
Statut
Membre
-
scofield.med Messages postés 10 Statut Membre -
scofield.med Messages postés 10 Statut Membre -
Bonjour,lé programmeur j ai un petit pb
j ai un exercice en language c++ et j arrive po a trouver la solution
voila l'exer
1
12
123
1234
12345
123456
1234567
12345678
123456789
..........
l 'utilisateur donné le nombre de ligne a afficher par ex demande 5 la résultat
1
12
123
1234
12345
j ai un exercice en language c++ et j arrive po a trouver la solution
voila l'exer
1
12
123
1234
12345
123456
1234567
12345678
123456789
..........
l 'utilisateur donné le nombre de ligne a afficher par ex demande 5 la résultat
1
12
123
1234
12345
Configuration: Windows XP Firefox 2.0.0.14
A voir également:
- Exercice en c++
- Exercice word gratuit avec corrigé - <a href="https://forums.commentcamarche.net/forum/word-141">Forum Word</a>
- Fleur d'encre 5eme corrigé exercice ✓ - <a href="https://forums.commentcamarche.net/forum/pdf-144">Forum PDF</a>
- Transmath 3eme exercice corrigé ✓ - <a href="https://forums.commentcamarche.net/forum/etudes-formation-high-tech-16">Forum Études / Formation High-Tech</a>
- Je voudrais télécharger le livre de prof 5ème fleurs d'encres - <a href="https://forums.commentcamarche.net/forum/pdf-144">Forum PDF</a>
- Exercice cahier des charges 3ème corrige pdf - <a href="https://forums.commentcamarche.net/forum/etudes-formation-high-tech-16">Forum Études / Formation High-Tech</a>
3 réponses
void main
{
int nb;
cout<<"lignes"<<endl;
cin>>nb;
char* text= new char[nb+1];
for (int i=0;i<nb;i++)
{
text[i]=i+1;
text[i+1]='0';
cout<<text<<endl;
}
cout<<endl<<"ton prof va tricard que tu l as pas fait toi meme"<<endl;
}
{
int nb;
cout<<"lignes"<<endl;
cin>>nb;
char* text= new char[nb+1];
for (int i=0;i<nb;i++)
{
text[i]=i+1;
text[i+1]='0';
cout<<text<<endl;
}
cout<<endl<<"ton prof va tricard que tu l as pas fait toi meme"<<endl;
}
scofield.med
Messages postés
10
Statut
Membre
merci bcp man and am sorry pour te dérangement thx