Program to find simple interest.



Explanation

Here after getting principal, time and rate from user using scanf, we have calculated simple interest and putted in 2 decimal value after point, so we used .2f in the result.


Output



Exercise:
Find the average of four numbers given by user.


Comments

Popular posts from this blog

Header Files in C

Programming Concepts