Fundamentals of C

Compound Interest
Click Play Tamil button below, to watch the Video : Compound Interest

Student
Pandiyarajan S   03-May-22

Team, I have one doubt that we should mention one value in floating while using division method.for example : 22.0/7 or 22/7.0 to avoid truncate problem.. But in compound coding case we mentioned as i=r/100; if r=15 then it truncate to integer or we need to mention reciprocal 100 in float.. please clarify..

Support Team
Support Team   25-Jun-22

Dear sir, We declare r as a float. So it is automatically replaced as a floating number at the time of calculation. Hope you understand. Thanks.
REPLY

Student
Goutham.B   21-Nov-21

What is use of 1+I here y 1 has used ?

Support Team
Support Team   22-Nov-21

pow() method has two arguments. First argument must has value. If i=0 has issue so that i+1 has 1 or >1.
REPLY

Change Subject:


Total Duration: 15:11:57