# Category: basic C programs

## Pattern 16: C Program to print backslash star pattern using for loops

Write a C program to print the following pattern using for loops: Enter the Number : 5*      ...

## 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 sum of digits of given Number

Description : This program accepts one Integer from user and calculates the Sum of the individual digits of given number. Ex:...

## 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>...

## SillyCodes : 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...