C++ Program to Find Compound Interest
Here you will get a C++ program to find compound interest. The formula used to calculate compound interest is given below: Image Source Output: Enter Principle, Rate and Time:100024Compound Interest = 82.43
Here you will get a C++ program to find compound interest. The formula used to calculate compound interest is given below: Image Source Output: Enter Principle, Rate and Time:100024Compound Interest = 82.43
Square root in C++ can be calculated using sqrt() function defined in math.h header file. This function takes a number as an argument and returns the square root of that number. Below I have shared a program to find square root in C++. If you have any problem then you can freely ask it by …
Below I have shared the C++ program to convert given number of days into years, weeks and days. For example if user has entered 365 days (not a leap year) then the output will be: Years: 1 Weeks: 0 Days: 0 #include<iostream> using namespace std; int main() { int y,d,w; cout<<“Enter No. …
C++ Program to Convert Days Into Years, Weeks and Days Read More »