C++ Program to find cube of number
This program takes in an integer a as a screen input from the user. It then find cube of number and outputs it using the ‘cout’ command. PROGRAM: #include <iostream.h> #include <conio.h> int cube(int x); //The prototype. void main() { clrscr(); int a; cout << "Enter an integer : "; cin>>a; cout << "The cube … Read more