# Program to find square and cube of a number (C++)

## Program to find square and cube of a number in C++

**-Program:**

#include <stdio.h>

void main()

{

int n;

clrscr();

printf(“Enter number:”);

scanf(“%d”, &n);

printf(“Square is %d and cube is %d”, n*n, n*n*n);

getch();

}

**-Output:**

Program to find square and cube of a number

“My posts/articles/images are not allowed to be stolen/copied anywhere at Cyber space. Doing so will allow me to take a legal action against the copier.”

Tags: c program to find square and cube of a number,

c program to find square and cube of a number using function,

c program to find the square and cube of a given number,

c program to find the square and cube of a number,

C++ Basic Programming - Find square and cube of a number,

c++ program to find square and cube of a number using class and object,

c++ program to find the square and cube of a number using class and object,

Program to find square and cube of a number,

Program to find square and cube of a number in C++,

write a c program to find square and cube of a number,

write a c program to find square root square and cube of any number,

write a c++ program to find the square and cube of a number using class and object,

write ac program to find square root square and cube of any number
**M.Bakhtiar Zuberi**

I’m M.Bakhtiar Zuberi, the owner of 3DPixelz.com and its network websites. I’ve been web-developing & graphics-designing for the past 7 years, since the age of 11. I like to work with PHP/HTML and Photoshop/Illustrator. Part-time developer of ZCL and ETC cryptocurrencies. I love to blog here and write for Tribune in my free time.