#include <stdio.h> main() { double R1, R2, R3, RRES; printf("Introduisez les valeurs pour R1, R2 et R3 : "); scanf("%lf %lf %lf", &R1, &R2, &R3); RRES=R1+R2+R3; printf("Resistance resultante serielle : %f\n", RRES); RRES=(R1*R2*R3)/(R1*R2+R1*R3+R2*R3); printf("Resistance resultante parallele : %f\n", RRES); return 0; }
- Tuesday
- December 24th, 2024
- Ajouter un cours