C Program to Calculate the Sum of Natural Numbers
C Program to Calculate the Sum of Natural Numbers To compute the sum of natural numbers from 1 to n (entered by the user), loops can be u...
A website designed to help you learn C or C++. Understandable C and C++ programming tutorials, compiler reviews, source code, tips and tricks.
C Program to Calculate the Sum of Natural Numbers
C Program to Calculate the Sum of Natural Numbers To compute the sum of natural numbers from 1 to n (entered by the user), loops can be u...
C Program to Find Factorial of a Number The factorial of a positive integer.
C Program to Find Factorial of a Positive Number The factorial of a positive integer n is equal to 1*2*3*...n. You will learn to calculat...
C Program to Check Whether a Number is Even or Odd
C Program to Check Whether a Number is Even or Odd In this example, if...else statement is used to check whether a number entered by th...
C Program to Check Whether a Number is Positive or Negative
C Program to Check Whether a Number is Positive or Negative In this example, you will learn to check whether a number (entered by t...
C Program Division Of Two Number
C Program to Div Two Numbers In this program, user is asked to enter two integers. Then, the Div of those two integers is stored in a var...
C Program Multiplication of two numbers
C Program to Mul Two Numbers In this program, user is asked to enter two integers. Then, the mul of those two integers is stored in a var...
C Program Subtraction of two Numbers
C Program to Sub Two Numbers In this program, user is asked to enter two integers. Then, the sub of those two integers is stored in a var...
C Program to Add Two Numbers
C Program to Add Two Numbers In this program, user is asked to enter two integers. Then, the sum of those two integers is stored in a v...
C Programming Examples
C Programming Examples:- This page contains a collection examples on basic concepts of C programming like: loops, functions, poin...