Mise à jour de mes travaux
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int main(void) {
|
||||
double capital ;
|
||||
printf("Combien d'euros voulez vous investir?");
|
||||
scanf("%f", capital);
|
||||
|
||||
capital = capital * 1,04;
|
||||
printf("Après 1 an : %.2f euros\n", captital);
|
||||
|
||||
capital = capital * 1,04;
|
||||
printf("Après 2 ans : %.2f euros\n", captital);
|
||||
|
||||
capital = capital * 1,04;
|
||||
printf("Après 1 an : %.2f euros\n", captital);
|
||||
Reference in New Issue
Block a user