Output of Formulas

posted Feb 10, 2014, 12:41 AM by dldar masud   [ updated Feb 10, 2014, 2:17 AM by Karwan Jacksi ]

Write a program to calculate the following formulas:
                   
A) 1    2    4    8    16    32. . . n

B) 1    -4    9    -16    25. . .  n



/Dildar
Comments