CS101 Programming using C++ by yrs83496

VIEWS: 10 PAGES: 1

									                       CS101: Programming using C++
                                  HW # 1

1. Write a program that prints the powers of the integer 3, namely
    3, 6, 9, 12… 30 only 5 integers per line.
2. Write a program that inputs many positive integer numbers until entering the
   number 0 and find the maximum of them.
3. Write a program that computes the value of ex by using the formula:

                                            2     3

                        e  1  x!     x       x     .......
                          x

                                1         2!     3!

4. Write a program to calculate and print the product of the odd integers from 1
   to 15.

                                    Good luck

 .‫هالحظة: آخر هوعد لتسلين الوظيفة يوم األربعاء 13/01 ويوم الخويس 1/11 كل حسب هوعد هحاضرته‬

								
To top