Basic C Programming Examples
- C Program To Find Sum of N Numbers
- C Program for Addition of Two Numbers
- C Program to Find Sum of n Natural Numbers
- C Program to Find the Sum of n odd Numbers
- C Program to Find the Sum of Three Numbers
- C Program to Find the Sum of first n even Numbers
- C Program to Find the Sum of first 10 Natural Numbers
- C Program To Print Sum of Odd Numbers Between 1 To N
- C Program to Find Average of Three Numbers
- C Program To Find Average of n Natural Numbers
- C Program to Find Average of n Odd and Even Numbers
- C Program to Find the Sum and Average of Three Numbers
- C Program to Find the Sum and Average of n Numbers
- C Program To Find Smallest of Three Numbers
- C Program To Find Largest of Two Numbers
- C Program To Find Largest of Three Numbers ( 3 Different Ways )
- C Program To Find Largest And Smallest of Three Numbers (3 Different Ways)
- C Program To Find Largest And Smallest Number Among N Numbers
- C Program To Find Area of Circle
- C Program To Find Area of Square
- C Program To Find Area of Triangle
- C Program To Find Area of Rectangle
- C Program To Find Area and Perimeter of Square
- C Program To Find Area and Perimeter of Triangle
- C Program To Find Area and Circumference of Circle
- Leap Year Program In C (5 Different Ways)
- Odd or Even Program In C (7 Different Ways)
- Prime Number Program In C (3 Simple Ways)
- Armstrong Number Program In C (5 Different Way To Make)
- C Program To Swap Two Numbers (7 Different Ways)
- C Program To Find Fibonacci Series (5 Different Ways)
- C Program To Print Multiplication Table (5 Different Ways)
- C Program To Find Factorial of a Number
- C Program To Check Vowel or Consonant
- C Program to Calculate Power of a Number
- C Program To Print Odd Numbers Between 1 To 100
- C Program to Calculate Simple interest and Compound interest
- C Program To Read Month Number And Display Month Name Using Switch Case
- C Program To Take Input of 5 Subject, Find Total And Calculate Percent
- C Program To Convert Temperature From Celsius To Fahrenheit And Fahrenheit To Celsius
- C Program To Find The Smallest Number Using if else
C Program for Addition of Two Numbers (Simple Way)
To get the Addition of two numbers, we have to first take two numbers from the user, then calculate these numbers to find the sum.
formula to calculate the Addition of two numbers
Sum = a+b;
Algorithm
Program
Output:
C Program to Find the Sum of Two Numbers Using Function
Algorithm
Program
Output
C Program to Find the Sum of Two Numbers Using Array
Algorithm
Program
Output