# 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**

Hello, I'm M.Bakhtiar Zuberi, the only article poster & owner of this website. Your comments/suggestions are welcomed the most! RajasTutorials.com is a part of 3DPixelz.com network.