Home2023June

June 2023

Showing 1 - 20 of 39 results
Swapping two numbers is a common task in programming. In Python, it can be achieved using a temporary variable. However,...
Polynomial equations are fundamental mathematical expressions used in a wide range of applications. This Python program computes the value of...
This Python program finds all Pythagorean triplets within a given range of positive integers. Pythagorean triplets are sets of three...
Here’s a Python program to calculate simple interest with an introduction: Simple interest is a formula used to calculate the...
In this program, we will create a Python program to calculate the area of a triangle. The area of a...
In today’s digital age, the internet has opened up numerous opportunities to make money online, and one popular avenue is...
  • List
  • June 19, 2023
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...

Categories

Archives