>> gcc main.cpp >> ./a.out Enter principal : Enter rate : Enter time (year) : Compound interest : 381.47