September 2023

Showing 21 - 40 of 184 results
In geometry, Pythagoras theorem is used to find the length of the hypotenuse of a right-angled triangle. In this task,...
In mathematics, nPr represents the number of permutations of n objects taken r at a time. In this task, we will write a C# program to find nPr....
This C# program calculates and prints the edge values of a power function. Problem statement Given a base and an...
In statistics, the mean is the average of a set of numbers. In this task, we will write a C# program to find the...
This C# program calculates the combination value C(n, r), often referred to as “n choose r” or “nCr.” In combinatorial...
In statistics, the standard deviation is a measure of the amount of variation or dispersion of a set of values....
In this Python program, we will create a singly linked list and remove duplicate elements from it. A linked list...
If you’re using SendGrid dynamic templates, you may have noticed that the subject line doesn’t automatically populate. This is because...
This C# program calculates the cube root of a given number using the Newton-Raphson method for approximating cube roots. Problem...
This Python program solves the Celebrity Problem by finding a person who is known by everyone but does not know...
This Python program uses a recursive approach to solve the n-Queens problem. It explores all possible combinations of queen placements...
This C# program calculates the sum of the first 50 natural numbers. Natural numbers are the positive integers starting from...
This C# program is designed to calculate and display the factors of a specified positive integer. Factors are the numbers...
In this example, we’ll create a simple C# program to determine the largest of two given numbers, demonstrating basic comparison...
In C#, you can create a program to calculate the sum of N numbers by taking input from the user...
In this example, we’ll create a C# program to calculate and display the factorial of a given number, showcasing the...
This C# program identifies and prints all Armstrong numbers within the range of 1 to 1000. Armstrong number (also known...
This C# program is designed to determine whether a given number is an Armstrong number or no Problem Statement An...
In this example, we will create a C# program to find and print all the prime numbers between 1 and...
This C# program calculates and displays the largest prime factor of a given positive integer. A prime factor is a...

Categories

Archives