TP04 fini
This commit is contained in:
17
DEV1.1/TP04/interet.c
Normal file
17
DEV1.1/TP04/interet.c
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user