bonsoir;
je sais que xrite c'est printf.
comment écrire la ligne 3 en langage C car c'est écris en pascal .
FOR i := 1 TO n DO
BEGIN
write(’Ligne ’, i : 1, ’ : ’); //ligne 3
je veux afficher sur ma console ça:
ligne 1 : 1 2 3
ligne 2 : 4 5 6
ligne 3 : 7 8 9
pour ensuite afficher ma matrice :
1 2 3
4 5 6
7 8 9
Partager