Problem
Write a C++ program to input principle, time and rate (P, T, R) from user and findSimple Interest. How to calculate simple interest in C++ programming. Logic tofind simple interest in C++ program.ExampleInputEnter principle: 1200Enter time: 2Enter rate: 5.4OutputSimple Interest = 129.600006