Run Code | API | Code Wall | Users | Misc | Feedback | Login | Theme | Privacy | Blog |

## interestCalculationSampleWarning(s): source_file.c:5:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(){ ^ 1 warning generated. Enter interest rate: Enter number of years: Years 5 6 7 8 9 1 value[0] before applying interest: 100.00 value after applying interest 105.00 value[1] before applying interest: 100.00 value after applying interest 106.00 value[2] before applying interest: 100.00 value after applying interest 107.00 value[3] before applying interest: 100.00 value after applying interest 108.00 value[4] before applying interest: 100.00 value after applying interest 109.00 2 value[0] before applying interest: 105.00 value after applying interest 110.25 value[1] before applying interest: 106.00 value after applying interest 112.36 value[2] before applying interest: 107.00 value after applying interest 114.49 value[3] before applying interest: 108.00 value after applying interest 116.64 value[4] before applying interest: 109.00 value after applying interest 118.81 3 value[0] before applying interest: 110.25 value after applying interest 115.76 value[1] before applying interest: 112.36 value after applying interest 119.10 value[2] before applying interest: 114.49 value after applying interest 122.50 value[3] before applying interest: 116.64 value after applying interest 125.97 value[4] before applying interest: 118.81 value after applying interest 129.50 4 value[0] before applying interest: 115.76 value after applying interest 121.55 value[1] before applying interest: 119.10 value after applying interest 126.25 value[2] before applying interest: 122.50 value after applying interest 131.08 value[3] before applying interest: 125.97 value after applying interest 136.05 value[4] before applying interest: 129.50 value after applying interest 141.16 5 value[0] before applying interest: 121.55 value after applying interest 127.63 value[1] before applying interest: 126.25 value after applying interest 133.82 value[2] before applying interest: 131.08 value after applying interest 140.26 value[3] before applying interest: 136.05 value after applying interest 146.93 value[4] before applying interest: 141.16 value after applying interest 153.86 6 value[0] before applying interest: 127.63 value after applying interest 134.01 value[1] before applying interest: 133.82 value after applying interest 141.85 value[2] before applying interest: 140.26 value after applying interest 150.07 value[3] before applying interest: 146.93 value after applying interest 158.69 value[4] before applying interest: 153.86 value after applying interest 167.71 7 value[0] before applying interest: 134.01 value after applying interest 140.71 value[1] before applying interest: 141.85 value after applying interest 150.36 value[2] before applying interest: 150.07 value after applying interest 160.58 value[3] before applying interest: 158.69 value after applying interest 171.38 value[4] before applying interest: 167.71 value after applying interest 182.80 8 value[0] before applying interest: 140.71 value after applying interest 147.75 value[1] before applying interest: 150.36 value after applying interest 159.38 value[2] before applying interest: 160.58 value after applying interest 171.82 value[3] before applying interest: 171.38 value after applying interest 185.09 value[4] before applying interest: 182.80 value after applying interest 199.26 9 value[0] before applying interest: 147.75 value after applying interest 155.13 value[1] before applying interest: 159.38 value after applying interest 168.95 value[2] before applying interest: 171.82 value after applying interest 183.85 value[3] before applying interest: 185.09 value after applying interest 199.90 value[4] before applying interest: 199.26 value after applying interest 217.19 10 value[0] before applying interest: 155.13 value after applying interest 162.89 value[1] before applying interest: 168.95 value after applying interest 179.08 value[2] before applying interest: 183.85 value after applying interest 196.72 value[3] before applying interest: 199.90 value after applying interest 215.89 value[4] before applying interest: 217.19 value after applying interest 236.74 |
stackse - search stackoverflow differently |