wap up to enter your age and print the cube of it
Answers
Answered by
0
Answer:
CLS
Input"Enter your age";A
Cube=A^3
Print"Cube of the age=";Cube
End
hope this helps!!
Answered by
0
Answer:
Explanation:
#include <stdio.h>
void main()
{
int i,ctr;
printf("Input number of terms : ");
scanf("%d", &ctr);
for(i=1;i<=ctr;i++)
{
printf("Number is : %d and cube of the %d is :%d \n",i,i, (i*i*i));
}
}
follow this and u get ur answer
Similar questions