Technology has advanced to the point where programming has become an essential part of our lives. We use software and applications for communication, entertainment, education, and work, and these are all built on programming languages.

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.


Share:

No comments:

Post a Comment

If you have any doubt, let me know...

Translate

Wikipedia

Search results