C++ Program Codes
Learn and share the source codes of C++ Programs
Pages
Home
Projects
Assignments
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.
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Must drop your comments about post.