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

Saturday 28 March 2015

Calculating factorial by "do-while" loop

Calculating factorial

Asalam o Alikum. Hope you are enjoying good health by the grace of Allah Almighty.
Today I am here with a new blog that will calculate factorial by using do-while loop.
Remember that statements in do-while loop are executed at lease once.So,below is the source code and it's output.Hope you will like it.


Source code

khgamujtaba,C++

Output

khgamujtaba,C++



No comments:

Post a Comment