Showing 81 - 100 of 135 results
This program calculates the factorial of a given number using recursion. Problem statement Given a positive integer, we need to...
This C program prints Pascalโ€™s triangle based on the number of rows entered by the user. Pascalโ€™s triangle is a...
This C program converts a binary number to its decimal equivalent using the power of 2. It takes a binary...
This C program finds the union and intersection of two arrays. It takes two arrays as input and computes the...
This C program implements the Fizzbuzz problem, a classic programming exercise. It prints numbers from 1 to a given limit,...
This C program calculates the simple interest based on the principal amount, interest rate, and time period. It applies the...
This C program calculates the value of cos(x) using the Taylor series expansion. It takes the value of x as...
This C program calculates the value of nCr (combination) using the formula n! / (r! * (n-r)!). It takes the...
This C program calculates the volume and surface area of a cuboid given its length, width, and height. It utilizes...
This C program calculates the compound interest for a given principal amount, interest rate, and time period. It utilizes the...
This C program calculates the sum of the cos(x) series for a given angle and number of terms. It provides...
This C program finds and prints all non-repeated elements in an array. It provides a solution to identify unique elements...
In this post, you will learn about the C program that takes two strings as input and determines whether they...
This C program converts a decimal number to its equivalent octal representation. Problem statement You need to convert a decimal...
This C program finds missing numbers in an array. It takes an array as input and prints the numbers that...
This C program removes all repeated words in a given string. It prompts the user to enter a string, processes...
This C program finds the first N Fibonacci numbers and displays them. Problem statement Write a C program to find...
This C program calculates the normal and trace of a given matrix. It prompts the user to enter the size...
The Magic Squares puzzle is an intriguing mathematical problem that involves arranging numbers in a square grid such that the...
The strpbrk() function is a standard library function in the C programming language that is used to search for the...

Categories

Archives