Compound Interest in c language
C Program To Calculate Compound Interest You need to know : Arithmetic operators. Data type. BODMAS rule. // To know precedence of an operator. Basic input and output system. Formula Of Compound Interest : Compound Interest = Principle * (1 + Rate / 100 )^T or ci = p * pow ( ( 1 + r / 100 ) , t ) Wondering what is pow!! We got it covered, click here . Tips To Do The Program : Take input of principle amount from user. store in a variable like principle. Do same from Time and Rate. Store it in some appropriate variables like time and rate. Now calculate the Compound Interest using the above formula and store it in a variable say ci. Lastly, show the value of ci to the user. Don't forget to optimize the program for a good look and output. Code : #include<stdio.h> #include<math.h> void main() { ...