0
Please can someone help me solve this problem using C programing: CAPITAL=10000 ,RATE= 8% ,TIME =2yrs, INTEREST= C*R*T/100.
Please help me solve for interest using the C programing
4 Réponses
0
Kelly D Coder where is your tried code?
0
#include <stdio.h>
int main() {
int c,t;
float r=8;
c=10000;
t=2;
int i= (c*r*t)/100;
printf ("%d \n",c);
printf ("%.1f \n", r);
printf ("%d \n",i);
return 0;
}
0
Whats the problem you are getting with this code...? Code is fine.