-moz-user-select:none; -webkit-user-select:none; -khtml-user-select:none; -ms-user-select:none; user-select:none;

Monday, 6 April 2015

Cubelist in C++

Hello and Asalam o Alikum.I hope you all are fine by the grace of Allah Almighty.

Today I am here with another important program,"Cubelist".

In this program,I will take a series of numbers as input from the user and then calculate their cube.
I will show the number and its cube side by side using setw manipulator.This manipulator is defined in the library file"#include<iomanip.h>.It is used to set the width of output.
Below is the source code of this program.


Output

khgamujtaba,C++,finding cubelist

Output

khgamujtaba,C++,finding cubelist





No comments:

Post a Comment