C++ Program to Calculate Average of Numbers Using Arrays
Average of numbers is calculated by adding all the numbers and then dividing the sum by count of numbers available. This pro…
Average of numbers is calculated by adding all the numbers and then dividing the sum by count of numbers available. This pro…
A stack is a very important data structure because it can store data in a very practical way. A stack is a linear data struc…
The Octal numeral system uses the number 8 as its base. As a base-8 numeral system, it consists of only eight numbers: 0,1,2…
The Octal numeral system uses the number 8 as its base (radix). As a base-8 numeral system, it consists of only eight number…
The binary numeral system uses the number 2 as its base (radix). As a base-2 numeral system, it consists of only two numbers…
A prime number is a whole number that is greater than one and the only factors of a prime number should be one and itself. S…
Factors are the numbers you multiply together to get another number. For example, you get 2 and 3 as a factor pair of 6. If …
A Prime Number is a whole number that cannot be made by multiplying other whole numbers A prime number is a whole number tha…
We know how to calculate the expression 3 x 3. This expression can be written in a shorter way using something called expone…
The Fibonacci sequence is a set of numbers that starts with a one or a zero, followed by a one, and proceeds based on the ru…
The factorial function is a mathematical formula represented by an exclamation mark "!". In the Factorial formula …
A natural number is a number that occurs commonly and obviously in nature. As such, it is a whole, non-negative number. The …
Five alphabets a, e, i, o and u are known as vowels. All other alphabets except these 5 alphabets are known are consonants. …
All years which are perfectly divisible by 4 are leap years except for century years (years ending with 00) which is leap ye…
You will learn about C++ program to check whether number is even or odd. Integers which are perfectly divisible by 2 are cal…
You will learn about C++ program to calculate the two integers (divisor and dividend) and computes the quotient and remainde…
You will learn about C++ program to calculate the multiply of two numbers using a function and without function. For the be…
You will learn about C++ program to calculate the area of square using a function and without function. For the better under…
This c program prints transpose of a matrix. It is obtained by interchanging rows and columns of a matrix.Transpose of a mat…
This c program add two matrices i.e. compute the sum of two matrices and then print it. Firstly user will be asked to enter …