The following C Program is to Calculate Compound Interest.In this, p is principal amount, t is time, r is rate of interest and amt is total amount and ci is compound interest #include<stdio.h> #include<conio.h> #include<math.h> void main()
Category: C programs
/*Program to accepts and compare two strings whether both are equal, or first string is greater than the second or the first string is less than the second string */ #include<stdio.h> #include<conio.h> void main()
#include<stdio.h> #include<conio.h> void main()
/* WAP to find the largest of three numbers using nested if. */ #include<stdio.h> main()
/* Program sum of digit */ #include<stdio.h> #include<conio.h> void main()
This program reverse the number entered by the user and then prints the reversed number on the screen. In our program we use modulus(%) operator to obtain the digits of a number. To invert number look at it and write it from opposite direction or the output of code is a number obtained by writing […]