76 289
Assignments Done
Successfully Done
In May 2019

Answer to Question #14125 in C++ for kajol

Question #14125
Write a program to compute simple interest and compound interest
Expert's answer
int main()
float p,rate,time,ci;
printf("Enter principal amount : ");
scanf("%f", &p);
printf("Enter interest rate : ");
scanf("%f", &rate);
printf("Enter time period in year : ");
scanf("%f", &time);
//calculate ci
Compound interest = %f",ci);
return 0;

Output :-

Enter principal amount : 48500
Enter interest rate : 6
Enter time period in year : 2
Compound interest = 5994.600098

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions