write a program to display the cube of the first numbers(1-10)
Answers
Answered by
1
#include<stdio.h>
#include<conio.h>
void main ()
{
int i, j=1;
clrscr ();
printf("\n Enter the Number from 1 to 10:-");
printf("\nNumber \tcube");
for(i=1;i<=10; i++)
{
printf("\n%d\t",i);
j=i*i*i;
printf("%d\n\t", j);
}
getch();
}
sexygrl53:
mark as brainliest
Similar questions
Hindi,
7 months ago
History,
7 months ago
English,
1 year ago
Social Sciences,
1 year ago
Geography,
1 year ago