Normal
if/else
Loops
Arrays
Strings
- C++ Program to calculate sum of two numbers
- C++ Program To Print ASCII value of Alphabates and Digits
- C++ Program to find Compound Interest
- C++ Program to convert given inches into equivalent yard,feet and inches
- C++ Program to calculate square root of any number
- C++ Program to swap two numbers without using third variable
- C++ Program to Convert given number of days into years,weeks and days
- C++ Program to calculate sum and average of three numbers
- C++ Program to Find ASCII value of a character and its next character
- C++ Program to raise any number x to a positive power n
if/else
- C++ Program to Check whether a year is Leap year or not
- C++ Program to check whether a number is even or odd
- C++ Program to Find LCM and HCF of two numbers
- C++ Program to find quotient and remainder of two numbers
- C++ Program to convert a lowercase alphabate to uppercase or vice-versa
- C++ Program to calculate roots of quadratic equation ax^2+bx+c=0
- C++ Programs to check whether a given character is uppercase or lowercase alphabate or a digit or a special character
Loops
- C++ Program to print Welcome to C++ for number of times
- C++ Program to find average of numbers
- C++ Program to find sum of first n natural numbers
- C++ Program to calculate Factorial of a number
- C++ Program to find sum of square of n natural numbers
- C++ Program to find divisors of a number
- C++ Program check a number is palindrome or not
- C++ Program to print Fibonacci series
- C++ Program to find sum of digits of a number
- C++ Program to convert binary number to decimal number
Arrays
- C++ Program to read a matrix display on the screen
- C++ Program to insert an element in an array
- C++ Program to delete an element from an Array
- C++ Program to Add two matrices
- C++ Program to multiply two matrices
- C++ Program to print upper-half and lower-half of a square Matrix
- C++ Program to find largest and second largest number from a 2D array
- C++ Program to find sum of diagonals of a square Matrix
Strings
- C++ Program to reverse a string
- C++ Program to concatenate two strings
- C++ Program to check whether given string is palindrome or not
- C++ Program to Count number of words in a string
- C++ Program to find length of a string
C++ Program to Find HCF of two numbers
ReplyDeleteTo find the HCF or GCD of two or more numbers, make prime factors of the numbers and choose the common prime factors. Then the take the highest common factor this highest common factor is HCF of number.
What you want bro.. :)
ReplyDelete