Do In Lab (27-03-2013)

posted Mar 26, 2013, 11:36 PM by Salah Ibrahim   [ updated Mar 26, 2013, 11:39 PM by Karwan Jacksi ]
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
-----------------------------------------------------------------

Comments