# Category Archives: Number Programs

## Write a C++ Program to Calculate Average Percentage Marks

Write a C++ Program to Calculate Average Percentage Marks   To calculate average and percentage marks of a student in C++ programming, you have to ask to the user to enter marks obtained in some number of subjects(n subjects). Place summation of 5 subject’s marks in a variable say sum and place sum/n in a variable… Read More »

## Write a C++ Program to Calculate Arithmetic Mean

Write a C++ Program to Calculate Arithmetic Mean   To calculate arithmetic mean of numbers in C++ Programming, you have to ask to the user to enter number size then ask to enter the numbers of that size. To calculate arithmetic mean of all numbers, first perform addition of all the numbers, then make a… Read More »

## Write a C++ Program to Calculate Grade of Student

Write a C++ Program to Calculate Grade of Student   To calculate grade of a student on the basis of his total marks in C++ Programming, you have to ask to the user to enter marks obtained in some subjects . To calculate grade of student, first calculate the mark’s sum of all the subjects… Read More »

## Write a C++ Program to find the Perfect Number

Write a C++ Program to find the Perfect Number   What is a perfect number? “Perfect number is a positive number which sum of all positive divisors excluding that number.“ For example 6 is Perfect Number since divisor of 6 are 1, 2 and 3. Sum of its divisor is 1 + 2+ 3 =6… Read More »

## Write a C++ Program to find Area and Perimeter of Rectangle

Write a C++ Program to find Area and Perimeter of Rectangle

## Write a C++ program to find area of circle

Write a C++ program to find area of circle TIPS : :  User enter radius or diameter of circle.  Program should have two functions one which takes radius as parameter and second takes diameter as parameter.  If user enters wrong option then tell users its valid selection and chose again the right option.

## Write a C++ Program to Make a Simple Calculator

Write a C++ Program to Make a Simple Calculator

OUTPUT : :

## Write a C++ Program to Convert Decimal Number to Octal

Write a C++ Program to Convert Decimal Number to Octal

OUTPUT : :

## Write a C++ Program to Convert Octal Number to Decimal

Write a C++ Program to Convert Octal Number to Decimal

OUTPUT : :