CSC126

 

                                                Lab 1

 

 

  1. Write a program to draw the following gentleman

 

|||||||||||||||||||||||

                                                l                 l

                                                l     o    o    l

                                              _l                 l_

                                              l_        o       _l

                                                l    l____l   l

l                 l

 

 

 

  1. Write a program to put him in style and part his hair.

 

\\\\\\\\////////

                                                l                 l

                                                l     o    o    l

                                              _l                 l_

                                              l_        o       _l

                                                l    l____l   l

l                 l

 

 

 

3. O‘boy!  He is getting old and needs glasses.  Write a program for his new appearance

 

\\\\\\\\////////

                                                l     _    _   l

                                                l—lol-lol--l

                                              _l                 l_

                                              l_        o       _l

                                                l    l____l   l

l                 l