Subscribe to Feeds

Send Your Projects To georgepj@hotmail.com

We'll Publish It With Your Name :-)

Programs Can Also Be Downloaded From The Folders Below....[Or Scroll Down]

Cube of n Nos.

Click Here To Download C File Of This Program

 //Cubes of nos 1-10  
//Downloaded from www.c4cprog.co.nr
#include<conio.h>
void main()
{
int k=1,c;
clrscr();
printf("\n\nOUTPUT :\n");
do
{
c=k*k*k;
printf("\n\t%d Cube = %d",k,c);
k++;
}while(k<=10);
getch();
}

0 comments:

Post a Comment