C programs for Practice
C programs for Practice || Free Code Center Compound of interest in C #include<stdio.h> int main() { double p,r,n,ci,a; printf(“Enter a Principal ,Rate of Interest and Time(y)”); scanf(“%lf %lf %lf”,&p,&r,&n); a=pow (1+r/100,n)*p; ci=a-p; printf(“Compound of interest is %.3lf”,ci);//c programs for practice } Convert day in the year #include <stdio.h> … Read more