by Dinesh Thakur Category: Object-oriented programming (OOP)

 

 

#include <iostream.h>

#include<conio.h>

# define CUBE(Y) {y*y*y}

void main()            

{

Int a,b;

cout<<"Enter number whose cube wants to evaluated:";

cin>>a;

b=CUBE(a);

cout<<b>>"is the resultant value of Entered Cube";

getch( );

}

Popular Article