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
4 Antworten
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 🇮🇳