C++ Program to Convert Binary Number to Octal and vice-versa
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. 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…
This c program prints transpose of a matrix. It is obtained by interchanging rows and columns of a matrix.Transpose of a mat…
We will now try to multiply two matrix by using the concept of operator overloading. The described way is very very easy to …
The if else statement is a type of control structure. A control structure is a instruction, statement or group of statements…