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

[xyz-ihs snippet=”Google-Adsense”]

**-Program:**

#include <stdio.h>

void main()

{

[xyz-ihs snippet=”200-x-90″]

int n;

clrscr();

printf(“Enter number:”);

scanf(“%d”, &n);

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

getch();

}

**-Output:**

[xyz-ihs snippet=”200-x-90″]

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.”

[xyz-ihs snippet=”200-x-90″]

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