Infolinks - Earn Easy Money

Saturday, April 4, 2015

C++ program to find cube of number

#include<conio.h>
#include<iostream>
using namespace std;
int main ()
{
int a,b;
cout<<"Enter the number\n";
cin>>a;
b=a*a*a;
cout<<"Result in cube is\n";
cout<<b;
return 0;
}

No comments:

Post a Comment

Must drop your comments about post.