Do In Lab (25-03-2013)
Post date: Mar 25, 2013 7:13:46 AM
Q1. Write a c++ function to print the following shape:
$ # #
# $ #
# # $
-----------------------------------------------------------------
Q2. Write a c++ function that checks an entered number if its odd or even.
-----------------------------------------------------------------
Q3. Write two c++ functions one for factorial and another for power, then use these two
functions to solve this equation :
R=1!/n^1 + 3!/n^3 + 5!/n^5 … m!/n^m