Hello and Asalam o Alikum.I hope you all are fine by the grace of Allah Almighty.
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.
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
Output
No comments:
Post a Comment