C programs

Showing 61 - 80 of 135 results
This C program calculates the mean, variance, and standard deviation of a set of numbers. These statistical measures are commonly...
This C program finds and prints all possible subsets of a given string. A subset of a string is a...
The Tower of Hanoi is a classic mathematical puzzle that involves moving a stack of disks from one peg to...
This C program calculates the area of a trapezium based on the userโ€™s input of the lengths of its two...
This C program demonstrates how to print a semicolon without using the semicolon character itself. Problem Statement Write a C...
This C program finds the Least Common Multiple (LCM) of two given numbers. Problem Statement Write a C program that...
In this program, we will learn how to create a file in C and store information in it. File handling...
This C program determines whether a given year is a leap year or not. A leap year is a year...
This C program shows how you can to Find Area of a Right Angled Triangle. Problem statement Write a C...
This C program illustrates the computation of the height of a binary tree using a recursive algorithm. In computer science,...
This C program calculates the area of a rhombus using the lengths of its diagonals. It demonstrates a function to...
This C program finds and prints all non-repeated elements in an array. It provides a solution to identify unique elements...
This C program evaluates a polynomial equation for a given value of x. Problem Statement Write a C program to...
This C program converts a decimal number to its binary representation using recursion. It takes a decimal number as input...
The Magic Squares puzzle is an intriguing mathematical problem that involves arranging numbers in a square grid such that the...
This C program calculates the area of a parallelogram using the base and height provided by the user. Problem statement...
This C program calculates the value of cos(x) using the Taylor series expansion. It takes the value of x as...
This C program converts time from the 12-hour format (HH:MM AM/PM) to the 24-hour format (HH:MM). It takes the input...
This C program checks whether a given integer has an alternate pattern, i.e., whether the binary representation of the integer...
Intro This is a C program that enables users to manage employee records through a menu-driven interface. The program uses...