- Posted: 2009-09-11
 - Due: 2009-09-21 13:00
 
If you have not completed the introductory tutorial yet, I recommend you do that first to get familiar with the Linux/C programming environment.
(10 Marks) Write a C program to solve programming project 7 on page 34 of the course text. Test your program carefully, and hand in a typescript of your testing.
(20 Marks) Write a C program that generates the following picture. Your program must use two nested loops, and at most two
printfstatements. Hint: the horizontal offset isr*r/6at row r.
*
*
*
 *
  *
    *
      *
        *
          *
             *
                *
                    *
                        *
                            *
                                *
                                     *
                                          *
                                                *
                                                      *
                                                            *