Do In Lab (27-03-2013)

Post date: Mar 27, 2013 6:36:38 AM

Q1. Write a c++ function to print the following shape:

# # @

# @ #

@ # #

-----------------------------------------------------------------

Q2. Write a c++ function that checks an entered number if its positive or negative.

-----------------------------------------------------------------

Q3. Write two c++ functions one for factorial and another for power,then use these two

functions to solve this equation :

R=2!/n^2 + 4!/n^4 + 6!/n^6 … m!/n^m

-----------------------------------------------------------------