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.


Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.