Showing 61 - 80 of 135 results
This C program compares two strings entered by the user and determines their relationship based on lexicographical order. Problem statement...
This C program counts the number of unique words in a given string. It tokenizes the input string, converts it...
Intro This C program demonstrates how to delete an element from an array. It prompts the user to enter an...
This C program calculates the area of a trapezium based on the userโ€™s input of the lengths of its two...
Intro This C program calculates the volume and surface area of a cylinder using its radius and height. It demonstrates...
This C program calculates the area of a rhombus using the lengths of its diagonals. It demonstrates a function to...
This C program shows how you can to Find Area of a Right Angled Triangle. Problem statement Write a C...
This C program first introduces itself as a โ€œFahrenheit to Celsius Converterโ€. It then provides a brief problem statement, explaining...
Floydโ€™s Triangle is a triangular number pattern named after Robert Floyd. It is a right-angled triangle where the numbers are...
This C program converts a hexadecimal number to its binary representation. It takes a hexadecimal number as input and produces...
In C programming, a union is a user-defined data type that allows storing different data types in the same memory...
This C program converts decimal numbers to Roman numerals using a function called convertToRoman. It takes user input, checks if...
This C program calculates the sum of the first N natural numbers using a for loop. It iterates from 1...
This C program converts a decimal number to its binary representation using recursion. It takes a decimal number as input...
This C program converts a binary number to its octal equivalent. Problem statement The program takes a binary number as...
Introduction This C program prints a diamond pattern based on the number of rows provided by the user. It uses...
This C program uses recursion to reverse a given number. Recursion is a process in which a function calls itself...
This C program determines whether a given year is a leap year or not. A leap year is a year...
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 converts a given number of days into years, months, and remaining days. It uses a function called...

Categories

Archives