Computer Science, asked by rajrs0227, 3 months ago

Algorithm for ACCEPT A NUMBER AND FIND ITS SQUARE AND CUBE.

Answers

Answered by vaishnavikumbhar46
1

Answer:

#include<stdio.h>

#include<conio.h>

void main()

{

int n;

scanf("%d", &n);

printf("%d", n*n);

printf ("%d", n*n*n);

}

Similar questions