C++ Program to Calculate Grade of Student

In this tutorial, we will write a C++ program to find the grades of the student. Before that, you should have knowledge of the following topics in C++. C++ if else-if statement C++ for loop C++ Array The program takes the user input for a number of subjects and the marks obtained on each of … Read more

Arithmetic Mean Program in C++

We will write a C++ Program to Calculate Arithmetic Mean. Before that, you should have knowledge of the topics in C++ given below. C++ for loops C++ operators C++ Array Arithmetic mean is the sum of a collection of numbers divided by the number of numbers in the collection. For example: arithmetic mean = (n1 … Read more

C++ Program to Check Palindrome Number

In this tutorial, we will write a C++ program to check whether a number is Palindrome or not. Before that, you may go through the following topic in C++. C++ while loop C++ if..else statement C++ operator A number is said to be a Palindrome number if it remains the same when its digits are … Read more

C++ Program to check Character is Alphabet or Not

We will write a C++ program to check whether a character is an alphabet or not. Before that, you should have knowledge of the following in C++. C++ if..else statement Program to Check Alphabet or Not in C++ First of all the program ask the user to enter a character that needed to be checked … Read more

C++ Program to take Input from User

In this simple tutorial, we will learn to get input from the user in C++. We will learn to take integer, character, string with spaces as an input. If you want to learn about the data types in C++ then go through the following tutorial. C++ data types C++ String Take Integer and Character as … Read more

C++ Program to Convert Octal to Hexadecimal

In this tutorial, we will write a program to convert an octal number into hexadecimal in C++. Before that, you must have knowledge of the following topics in C++. C++ operator C++ while loop C++ for loop Hexadecimal number The hexadecimal number is represented with a base of 16. It has digits from 0 to … Read more

C++ Program to Convert Hexadecimal to Octal

In this tutorial, we will write a program to convert a hexadecimal number into octal in C++. Before that, you must have knowledge of the following topics in C++. C++ operator C++ while loop C++ for loop Hexadecimal number The hexadecimal number is represented with a base of 16. It has digits from 0 to … Read more

C++ Program to Convert Hexadecimal to Binary

This is a C++ Program to Convert a HexadecimalNumber to its Binary Equivalent. Before that, you must have knowledge of the following topics in C++. C++ operator C++ while loop Binary number The binary numbers are based on 0 and 1, so it is a base 2 number. They are the combination of 0 and … Read more