C LANGUAGE - FINDING SIMPLE INTEREST PROGRAM

// Find simple interest #include<stdio.h> #include<conio.h> int main() { float i,p,r,n; printf("enter the value p:\n"); scanf("%f",&p); printf("enter the value r:\n"); scanf("%f",&r); printf("enter the value n:\n"); scanf("%f",&n); i=(p*r*n)/100; printf("Interest::%f",i); return 0; }
Note: Click on copy button to copy the given code and you can paste it in any online compiler to see the result, IF YOU ARE A MOBILE USER THEN DOWNLOAD "CODING C"(Free App) COMPILER FROM GOOGLE PLAY STORE.