c++

c++

c++

Sunday, 14 September 2014

Taking cube of a value...


#include<fstream.h>
#include<conio.h>
#include<process.h>
#include<stdio.h>
#include<math.h>
#include<string.h>
#include<stdlib.h>
void main()
{
clrscr();
float sum=0,den,i=3,x;
cout<<"Enter Value ";
cin>>x;
den=pow(x,i);
cout<<"qube = "<<den;
getch();

}

No comments:

Post a Comment