Algorithm for ACCEPT A NUMBER AND FIND ITS SQUARE AND CUBE.
Answers
Answered by
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