Problem Statement
Calculate the final amount using the compound interest formula: A = P * pow((1 + r/n), n*t).
DEMO-C-32 โข Programming in C
Calculate the final amount using the compound interest formula: A = P * pow((1 + r/n), n*t).
P (principal), r (rate decimal), n (times per year), t (years).Amount formatted to 2 decimal places.
Submit runs every public testcase in this browser. Results and code never leave this device.
1000 0.05 12 10
1647.01
100 0.02 4 1
102.02
10000 0.01 12 20
12213.01
1 1.0 1 1
2.00
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question