HomeBlogPage 19

Blog

Showing 361 - 380 of 53438 results
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...
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...

Categories

Archives