WAP To Print A Cube Of A Number.
#include<iostream.h>
#include<conio.h>
#include<stdlib.h>
Void main()
{ clrscr();
Int
cube,n;
cout<<”Enter the number”;
cin>>n;
cube=(a*a*a);
cout<<”Cube of a no. is”<<cube;
getch();
}
Comments
Post a Comment