20 lines
484 B
C
20 lines
484 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
int main(void) {
|
|
double investi;
|
|
scanf("%lf", &investi);
|
|
investi = investi * 1.04;
|
|
printf("%.4f/n", investi);
|
|
investi = investi * 1.04;
|
|
printf("%.4f/n", investi);
|
|
investi = investi * 1.04;
|
|
printf("%.4f/n", investi);
|
|
investi = investi * 1.04;
|
|
printf("%.4f/n", investi);
|
|
investi = investi * 1.04;
|
|
printf("%.4f/n", investi);
|
|
investi = investi * 1.04;
|
|
printf("%.4f/n", investi);
|
|
investi = investi * 1.04;
|
|
printf("%.4f/n", investi);
|
|
} |