Computer Science, asked by kamesh75, 10 months ago

write a c program to find 1 to 10 cube no​

Answers

Answered by karankirat345
4

1 cube is 1

2 cube is 8

3 cube is 27

4 cube is 64

5 cube is 125

6 cube is 216

7 cube is 343

8 cube is 512

9 cube is 729

10 cube is 1000

if this helps you plz mrk as brainliest

Answered by gurukulamdivya
1

Answer:

This C program will find the cube of number between 1 to 10.

#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();

}

if it helped you, then rate accordingly..

Similar questions