# Category: Mathematical C programs

## c program to convert octal number into the Decimal number.

Example: Octal  = 123 Decimal= 1×8²+2×8¹+3×8⁰ = 83 Program (Octal to Decimal Conversion): #include<stdio.h> #include<math.h> int main () {     int decimal=0, i=0, rem=0,n,n1;  ...

## C Program to calculate Minimum of three numbers

Description: This program accepts Three integers as input and calculates the Minimum number. Program : #include<stdio.h> int main() {    int a,b,c,min;...

## C Program to Calculate Maximum of three numbers

Description:  This program accepts Three integers as input and calculates the Maximum number. Program : #include<stdio.h> int main() {    int a,b,c,max;...

## C Program to reverse a Number | Reverse number program in C languge

Description:  This program accepts one integer from the user and Generates Reverse of given number. Program : #include<stdio.h> int main() {...

## C Program to Calculate sum of first N natural numbers

Description: This Program accepts one Integer from user and stores that value into the variable n.  Then calculates the Sum...

## C Program to calculate area of Circle, if Radius is given | Area of Circle program in C language

Description:  This program accepts one value(float value) from user and stores it into radius parameter. Then it will calculate the...

## C Program to check given number is positive or Negative using If condition

Description : This program accepts one integer from user and checks given number is positive or negative. Program : #include<stdio.h>...

## C program to check given Number is Even or Odd

Description: This program accepts one Integer value from user and checks if the given number is Even number or Odd...

## C Program to check given number is Armstrong Number or not.

Armstrong Number Program in C: #include<stdio.h> int main() {    int num,rem,temp,sum;    printf(“Enter any Number : “);    scanf(“%d”,&num);    ...

## C Program to generate prime numbers up to user given Number.

Description : This program accepts one integer number as input and generates prime numbers up to that number. This program...