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
Hindi,
2 months ago
English,
2 months ago
India Languages,
2 months ago
CBSE BOARD X,
5 months ago
History,
11 months ago
Hindi,
11 months ago
English,
11 months ago