# Tag: cprogram

#### C Program to find maximum between two numbers

Write a C Program to find the maximum between two numbers using if-else conditional statement.

#### C Program to find maximum between three numbers

Write a C Program to find the maximum between three numbers using if-else conditional statement.

#### C Program to check if number is positive, negative or zero

Write a C Program to check if the number is positive, negative or zero using if-else statement. Check if the …

#### C program to print all natural numbers from 1 to n

C program to print all natural numbers from 1 to n using while loop and for loop. How to print …

#### C program to print all natural numbers in reverse

C program to print all natural numbers in reverse order using while loop and for loop. How to print natural …

#### C program to print alphabets from a to z

C program to print alphabets from a to z using while loop and for loop with char data type as …

#### C program to print all even numbers

Write a C Program to print all even numbers using while loop or for loop with and without if statement. …

#### C Program to print all odd numbers

C Program to print all odd numbers using while loop or for loop with and without if statement. How to …

#### C Program to find sum of all natural numbers

Write a C Program to find the sum of all natural numbers from 1 to n using for loop and …

#### C Program to find sum of all even numbers

Write a C Program to find the sum of all even numbers from 1 to n using for loop and …

#### C Program to find sum of all odd numbers

Write a C Program to find the sum of all odd numbers from 1 to n using for loop and …

#### C Program to count number of digits in a number

Write a C Program to count the number of digits in a number using a loop and without using a …

#### C Program to read and print elements of array

C Program to read and print elements of an array using loops and recursion

#### C Program to print sum of array elements

C Program to print the sum of array elements using loop and recursion.

#### C Program to print maximum and minimum element in array

C Program to print maximum and minimum element in an array

#### C Program to print second largest element in array

C Program to print the second largest element in an array

#### C Program to print count of even and odd numbers in array

C Program to print the count of even and odd numbers in an array.

#### C Program to count positive, negative and zero numbers in array

C Program to count positive, negative and zero numbers in an array

#### C Program to copy all array elements from one array to another

C Program to copy all array elements from one array to another

#### C Program to insert an element in array

C Program to insert an element in an array at a given position.

#### C Program to delete an element from array

C Program to delete an element from an array by given index or by given value. How to remove an …

#### C Program to print frequency of each element in array

C Program to print the frequency of each element in an array without using an extra array. How to print …

#### C Program to find square of a number

C Program to fine square of a number

#### C Program to find cube of a number

C Program to find cube of a number

#### C Program to find circumference, diameter and area of a circle

C Program to find the circumference, diameter and area of a circle

#### C Program to find maximum and minimum number

C Program to find the maximum and minimum number

#### C Program to find maximum and minimum number in an array

C Program to find the maximum and minimum number in an array

#### C program to check if number is even or odd

Write a program to check if a number is even or odd in different ways. Let us use the if-else, …

#### C Program to check if a number is even or odd in a given interval

C Program to check if a number is even or odd in a given interval

#### C Program to check if a number is prime or not

C Program to check if a number is prime or not using function

#### C Program to check if a number is prime or not in a given interval

C Program to check if a number is prime or not in a given interval using function

#### C Program to check if a number is armstrong or not

C Program to check if a number is armstrong or not using function

#### C Program to print sum of first natural numbers using recursion

C Program to print sum of first natural numbers using recursion

#### C Program to print all natural number between given interval using recursion

C Program to print all natural number between given interval using recursion

#### C Program to print all even and odd number in a given interval using recursion

C Program to print all even and odd number in a given interval using recursion

#### C Program to find sum of numbers in a given interval using recursion

C Program to find the sum of numbers in a given interval using recursion

#### C Program to take string as an input

Write a C Program to take a string as input from the user. Basically, we use four methods to take …

#### C Program to find length of a string

Write a C program to find the length of a string. How to find the length of a string in …

#### C Program to copy one string to another string

Write a C program to copy one string to another string using a loop and strcpy function. We can use …

#### C Program to concatenate two strings

C Program to concatenate two strings using loop or strcat string function in C language. How to concatenate two strings …

#### C Program to convert lowercase string to uppercase

C Program to convert lowercase characters in a string to uppercase characters using loop or strupr string function. How to …

#### C Program to convert uppercase string to lowercase

C Program to convert uppercase characters in a string to lowercase characters using loop or strlwr string function. How to …

#### C Program to toggle case of a string

C program to toggle the case of a string using the loop i.e., convert the uppercase alphabets into lowercase and …

#### C Program to count alphabets, digits and special characters in a string

C Program to count alphabets, digits and special characters in a string using loop. How to find number of alphabets, …

#### C Program to count number of vowels and consonants in a string

Write a C Program to count the number of vowels and consonants in a string using loops or an array. …

#### C program to find sum of two numbers

Write a C program to enter two numbers and find their sum by using the scanf function.

#### C program to perform all arithmetic operations

Write a C program to enter two numbers and perform all arithmetic operations like addition, subtraction etc to understand how …

#### C program to find perimeter of a rectangle

Write a C program to enter the length and breadth of a rectangle and find its perimeter using operators and …

#### C program to find area of a rectangle

Write a C program to enter the length and breadth of a rectangle and find its area using operators and …

#### C Program to find diameter, circumference and area of a circle

Write a C program to enter the radius of a rectangle and find the diameter, circumference and area of a …

#### C program to convert celsius to fahrenheit

Write a C program to convert celsius to fahrenheit. C program to enter the temperature in celcius and convert it …

#### C program to convert fahrenheit to celsius

Write a C program to convert fahrenheit to celsius. C program to enter the temperature in fahrenheit and convert it …

#### C program to find power of a number

C program to find the power of a number. Write a C program to enter the base and exponents and …

#### C program to find square root of a number

C program to find the square root of a number. Write a C program to enter the number and calculate …