TP04 fini

This commit is contained in:
2023-09-12 17:26:55 +02:00
parent 84006e98ee
commit af0f47be11
11 changed files with 76 additions and 0 deletions

17
DEV1.1/TP04/interet.c Normal file
View File

@@ -0,0 +1,17 @@
#include <stdio.h>
#include <stdlib.h>
int main(void) {
double argent;
printf("quel est le montant que vous souhaitez poser ? \n");
scanf("%lf",&argent);
argent=argent*1.04;
argent=argent*1.04;
argent=argent*1.04;
argent=argent*1.04;
argent=argent*1.04;
argent=argent*1.04;
argent=argent*1.04;
printf("L'épargne vous a rapportée : %.2f\n",argent);
return EXIT_SUCCESS;
}