C program to find factorial of a given number
Below is the program to find the factorial of a given number Output: Enter a number:6Factorial of given number is… Read More »C program to find factorial of a given number
Below is the program to find the factorial of a given number Output: Enter a number:6Factorial of given number is… Read More »C program to find factorial of a given number
Below is the program to find power of a number. Example: 2 raised to the power 4 is 16 Output:… Read More »C program to find power of a number using recursion
The sum of their “proper” divisors equals “perfect numbers” (positive integers that divide a number evenly, not counting itself). Below… Read More »C program to print Perfect numbers within the given range
Below is the program to print half pyramid pattern like 1 2 2 3 3 3 4 4 4 4… Read More »C program to print half pyramid pattern
Below is the program to find the greatest number in a matrix row Output: Enter number of rows: 2Enter number… Read More »C program to find greatest number in a row
Below is the program to count number of words in a sentence Output: Enter the string: I love ProgrammingTotal number… Read More »C program to count number of words in a sentence
Below is the program to find maximum number in each column in a given matrix Output: Enter number of rows:… Read More »C program to find maximum number in each column
Below is the code to count number of vowels and consonants in a given sentence Output: Enter a sentence: similar… Read More »C program to count number of vowels and consonants in a given sentence
Below is the code to find the length of a string using for loop. Output: Enter a sentence: Programming is… Read More »C program to find length of a string
Below is the program to search an element in an array. Output 1: Enter number of elements do you want… Read More »C program to search an element in an array