C Program to Calculate the Power using Recursion

This is a C Program to find power of a number using recursion. Problem Description The following C program, using recursion, finds the power of a number. Problem Solution The power of a number is the number multiplied to itself for the number of times it has been raised to Eg: 73 is 343 Program/Source … Read more

advertisement

C Program to Check whether a Number is Prime or Not using Recursion

This is a C program to find whether a number is prime or not using recursion. Problem Description The following C program, using recursion, finds whether the entered number is a prime number or not. Problem Solution A prime number is an integer that has no integral factor but itself and 1. Program/Source Code Here … Read more

advertisement

C program to Find the Sum of Harmonic Progression Series

This is a C Program to find the sum of H.P series. Problem Description This C Program calculates the sum of H.P series. Problem Solution This program is used to find the sum of the harmonic progression series. Here H.P stands for harmonic progression. Harmonic progression is a progression formed by taking the reciprocals of … Read more

advertisement

C Program to Find Sum of Series 1 + 1/2 + 1/3 + 1/4 + ……. + 1/N

This is a C Program to find the sum of series 1 + 1/2 + 1/3 + 1/4 + … + 1/N. Problem Description This C Program calculates the Sum of Series 1 + 1/2 + 1/3 + 1/4 + … + 1/N. Problem Solution This program is used to find the sum of the … Read more

advertisement

C Program to Find Volume and Surface Area of Cone

This is a C Program to find the volume and surface area of cone. Problem Description This C Program calculates the volume and surface area of cone. Problem Solution This program is used to find the the volume and surface area of cone. The formula used in this program are Surface_area = Pi * r … Read more

advertisement

C Program to Add Two Complex Numbers

This is a C Program to add two complex numbers. Problem Description This C Program adds two complex numbers. Problem Solution A complex number is a number that can be put in the form a + bi, where a and b are real numbers and i is called the imaginary unit, where i2 = -1. … Read more

advertisement

Pascal Triangle Program in C

Problem Description Write a C program that take input from the user and displays pascal triangle. What is Pascal Triangle? The Pascal Triangle in C is a triangular pattern where the topmost element is 1, and subsequent numbers are generated by adding the two numbers above to form a new number in each row of … Read more

advertisement

C Program to Find Area of Rhombus

This is a C Program to find area of rhombus. Problem Description This C Program calculates the area of Rhombus. Problem Solution The formula used in this program are Area= (1/2) * height * width. Program/Source Code Here is source code of the C Program to Find the area of rhombus.The C program is successfully … Read more

advertisement

C Program to Read Coordinate Points and Determine its Quadrant

This is a C Program to read a coordinate point in a xy coordinate system and determine its quadrant. Problem Description This C Program read a coordinate point in a XY coordinate system and determine its quadrant. Problem Solution The program accepts X and Y. Depending on the value of X and Y we need … Read more

advertisement

C Program to Find the Area of Different Geometrical Shapes

This is a C Program to find the areas of different geometrical figures. Problem Description This C Program finds the areas of different geometrical figures. Problem Solution The program is menu driven program. This has 4 options that can be chosen by the user. The 4 options are 1) area of circle 2) area of … Read more

advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.