#include <stdio.h> main() { int A, B, C, AIDE; printf("Introduisez trois nombres (A, B, C) : "); scanf("%d %d %d", &A, &B, &C); /* Affichage à l'aide de tabulations */ printf("A = %d\tB = %d\tC = %d\n", A, B, C); AIDE=A; A=C; C=B; B=AIDE; printf("A = %d\tB = %d\tC = %d\n", A, B, C); return 0; }
- Thursday
- December 26th, 2024
- Ajouter un cours