Please can someone help me solve this problem using C programing: CAPITAL=10000 ,RATE= 8% ,TIME =2yrs, INTEREST= C*R*T/100. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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

30th Mar 2022, 12:48 PM
Kelly D Coder
3 Answers
0
Kelly D Coder where is your tried code?
30th Mar 2022, 12:53 PM
Jayakrishna 🇮🇳
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; }
30th Mar 2022, 1:11 PM
Kelly D Coder
0
Whats the problem you are getting with this code...? Code is fine.
30th Mar 2022, 2:24 PM
Jayakrishna 🇮🇳