Home2023Page 12

2023

Showing 221 - 240 of 2959 results
This Python program checks if a given date is valid or not. It verifies if the provided date is in...
You can determine whether a number is a power of two by checking if it has only one bit set...
A perfect number is a positive integer that is equal to the sum of its proper divisors, excluding itself. For...
This Python program validates a given date input by the user. It checks whether the entered date is a valid...
In this Python program, we will create a recursive function to print the binary equivalent of an integer. Recursion is...
In this program, we will write a Python code to find the smallest divisor of a given integer. The divisor...
This Python program calculates the sum of the first N natural numbers. It defines a function called calculat_sum that takes...
This Python program checks if a number is a strong number or not. A strong number (also known as a...
The provided Python program is designed to find the prime factors of a given number. It utilizes a function called...
This Python program checks if two numbers are amicable numbers or not. Amicable numbers are pairs of numbers where the...
This C program converts a Roman numeral to a decimal number. Roman numerals are a system of numerical notation used...
This C program calculates the value of sin(x) using the Taylor series expansion. The Taylor series expansion is a mathematical...
This C program calculates the square root of a given number using the Newton-Raphson method. The Newton-Raphson method is an...
The C program provided is designed to count the number of lines in a text file. It prompts the user...
This C program calculates and displays the position of the highest bit set (most significant bit) for a given integer....
This C program performs cyclic permutation (rotation) of the elements in an array to the right. Cyclic permutation is an...
This C program performs matrix multiplication. Matrix multiplication is a fundamental operation in linear algebra, where two matrices are multiplied...
This C program calculates and displays the transpose of a given matrix. The transpose of a matrix is obtained by...
This C program implements an adjacency matrix for a graph. An adjacency matrix is a two-dimensional array where each element...
This C program checks if a specific bit position in an integer is set to one or not. In binary...

Categories

Archives