C Program to Convert Days into Years, Weeks and Days
C Program to find power of any number X^Y. To find power we include the math.h header for the pow function. We then use pow(base, exponent) to calculate base raised to the power of exponent.
C program to calculate total average and percentage of five subjects Example
C program to find angles of triangle if two angles are given
Write a C program to input base and height of a triangle and find area of the triangle. Logic to find area of a triangle in C program.
Write a C program to input principle, time and rate (P,T, R) from user and find Simple Interest
Write a C Program to Calculate Compund Interest Compound interest is the addition of interest to the principal sum of a loan or deposit, or in other words, interest on interest. It is the result of reinvesting interest, rather than paying it out, so that interest in the next period is then earned on the principal sum plus previously-accumulated interest. Compound interest is standard in finance and economics. Compound interest may be contrasted with simple interest, where interest is not added to the principal, so there is no compounding.
Practice of c PROGRAMMING logics and concepts

Practice of c PROGRAMMING logics and concepts

  • 1.
    C Program toConvert Days into Years, Weeks and Days
  • 5.
    C Program tofind power of any number X^Y. To find power we include the math.h header for the pow function. We then use pow(base, exponent) to calculate base raised to the power of exponent.
  • 8.
    C program tocalculate total average and percentage of five subjects Example
  • 11.
    C program tofind angles of triangle if two angles are given
  • 14.
    Write a Cprogram to input base and height of a triangle and find area of the triangle. Logic to find area of a triangle in C program.
  • 17.
    Write a Cprogram to input principle, time and rate (P,T, R) from user and find Simple Interest
  • 21.
    Write a CProgram to Calculate Compund Interest Compound interest is the addition of interest to the principal sum of a loan or deposit, or in other words, interest on interest. It is the result of reinvesting interest, rather than paying it out, so that interest in the next period is then earned on the principal sum plus previously-accumulated interest. Compound interest is standard in finance and economics. Compound interest may be contrasted with simple interest, where interest is not added to the principal, so there is no compounding.