C++ Basic Solved Programs
- Write a C++ Program to Display Number (Entered by the User)
- Write a C++ Program to Add Two Numbers
- C++ Program to Find Quotient and Remainder of 2 numbers
- C++ Program to Swap Two Numbers without using third variable
- C++ Program to Find Size of Int Float Double and Char Data types
- Write a C++ Program to Calculate Multiplication of two Numbers
- Write a C++ Program to Display ASCII Value of a Character
- C++ Program to Generate Random Numbers between 0 and 100
- C++ Program to Find Sum and Average of three numbers
- C++ Program to convert inches to feet yards and inches
- Write a C++ Program to raise any number X to power N
- Write a C++ Program to find Addition of Two Numbers
- Write a C++ Program to Convert Days Into Years Weeks and Days
- Write a C++ Program to Convert Days Into Years Weeks and Days
- C++ Program to find Square Root of a number using sqrt() function
- Write a C++ Program to Calculate Compound Interest
- C++ program to Find Cube of Number using MACROS
- C++ Program to Find whether given Number is Odd or Even
- C++ Program to Check Character is Uppercase, Lowercase, Digit or Special
- C++ Program to Check whether a year is Leap year or not
- C++ Program to Find Roots of Quadratic Equation using if else
- Write a C++ Program to Check Whether a character is Vowel or Consonant
- C++ Program to Check whether given number is Even or Odd
- Write a C++ Program to Check a number is Prime or not
- C++ Program to find Factorial of a Number using Recursion and Loop
- C++ program to Print Multiplication Table of a given number
- C++ Program to Reverse a Number using while loop
- C++ Program to Find the Number of Digits in a number
- C++ Program to Generate Fibonacci Series for N numbers
- C++ Program to Check whether a Number is Armstrong or not
- C++ program to Find Largest of three numbers using nested if
- C++ program to Check whether a number is palindrome or not
- C++ Program to Calculate HCF of Two Numbers using Functions
- C++ program to find LCM of two numbers using functions
- Write a C++ program to find Square Root of a Number
- Write a C++ Program to find Cube Root of a Number
- C++ Program to find Sum of Digits of a Number using while loop
- C++ Program to Find Power of a Number using for loop
- C++ Program to Find Sum and Average of n numbers using for loop
- C++ Program to Print Pascal Triangle using function
Here is source code of the C++ program to Find Cube of Number using MACROS. The C++ program is successfully compiled and run(on Codeblocks) on a Windows system. The program output is also shown in below.
SOURCE CODE :
Output : :
Above is the source code for C++ program to Find Cube of a Number using MACROS which is successfully compiled and run on Windows System.The Output of the program is shown above .
need an explanation for this answer? contact us directly to get an explanation for this answer