Write C++ program to calculate compound Interest