C# Program to Find HCF of Two Numbers

This is a C# Program to find and display the hcf of a given number. Problem Description This C# Program Finds and Display the H.C.F of a Given Number. Problem Solution In other words the H.C.F is the largest of all the common factors. Program/Source Code Here is source code of the C# Program to … Read more

advertisement

C# Program to Generate the Sum of N Numbers

This is a C# Program to generate the sum of n numbers. Problem Description This C# Program Generates the Sum of N Numbers. Problem Solution This C# program obtains the Nth number from the user and calculates its sum till the Nth number. Program/Source Code Here is source code of the C# Program to Generate … Read more

advertisement

C# Program to Find the Factors of the Given Number

This is a C# Program to display the factors of the entered number. Problem Description This C# Program Displays the Factors of the Entered Number. Problem Solution The factors of a number are all those numbers that can divide evenly into the number with no remainder. Program/Source Code Here is source code of the C# … Read more

advertisement

C# Program to Check Armstrong Number

This is a C# Program to check whether the entered number is an armstrong number or not. Problem Description This C# Program Checks Whether the Entered Number is an Armstrong Number or Not. Problem Solution An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is … Read more

advertisement

C# Program to Check Whether a Given Number is Perfect Number

This is a C# Program to check whether the entered number is a perfect number or not. Problem Description This C# Program Checks Whether the Entered Number is a Perfect Number or Not. Problem Solution A perfect number is a positive integer that is equal to the sum of its proper divisors. Program/Source Code Here … Read more

advertisement

Fibonacci Series Program in C#

Problem Description Write a C# program that generates the Fibonacci series. What is the Fibonacci Series? The Fibonacci series starts with 0 and 1, and each subsequent number is the sum of the two preceding ones. For example, it begins with 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, and so on. Mathematical … Read more

advertisement

Factorial Program in C#

This is a C# Program to generate the factorial of given number. Problem Description This C# Program generates Factorial of the Number obtained from the user. Problem Solution Factorial of a number is obtained from the result of multiplying a series of descending natural numbers. Program/Source Code Here is source code of the C# Program … Read more

advertisement

C# Program to Calculate the Series sin(x)=x-x^3/3!+x^5/!-x^7/7!+……

This is a C# Program to calculate the series sin(x)=x-x^3/3!+x^5/!-x^7/7!+……. Problem Description This C# Program Finds the Value of sin(x) from the series sin(x)=x-x^3/3!+x^5/5-x^7/7! Problem Solution Take input from the user and perform series calculations as shown in the program below. Program/Source Code Here is source code of the C# program to Find the Value … Read more

advertisement

C# Program to Find GCD of Two Numbers

This is a C# Program to perform gcd. Problem Description This C# Program Performs GCD. Problem Solution Greatest Common Divisor of two numbers is the largest positive numbers which can divide both numbers without any remainder Program/Source Code Here is source code of the C# Program that calculate GCD between two numbers. The C# program … Read more

advertisement

C# Program to Add Two Complex Numbers

This is a C# Program to add 2 complex numbers. Problem Description This C# Program Adds two Complex Numbers. Problem Solution Group the real part of the complex number and the imaginary part of the complex number and then add. Program/Source Code Here is source code of the C# program that Adds two Complex Numbers.The … Read more

advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.