Pages

Tuesday, 2 September 2014

Program for finding cube of any number



// Code is given below 

#include<iostream>
using namespace std;
int main()
{
int a,b;
cout<<"Enter the number :";
cin>>a;
b = a * a * a;
cout<<"cube of "<<a<<" is = "<<b<<"\n\n\n";
return 0;

}

No comments:

Post a Comment

thnx for visiting my blog