Program to an integer and output the cube of that integer October 31, 2015 Get link Facebook X Pinterest Email Other Apps Program to an integer and output the cube of that integer #include <iostream> using namespace std; int main(){ int a; cout << "Enter Number" << endl; cin >> a; a = a*a*a; cout << "cube of number is " << a<< endl; system("pause"); return 0; } Comments
Comments
Post a Comment