Programming Assignment 2

Due on 10/20/2000

  1. Use the top-down design approach to write a C program that will print your initials (e.g., my name is Wen-Hung Liao, then I'll have to write three functions, draw_W( ), draw_H( ), and draw_L( ) and use a main program to call these functions to print out the letters.)

    ¡@

  2. Write three functions, named dsin, dcos, and dtan, respectively, so that a user can pass the argument in degrees, instead of radians, to compute sin, cos, and tan. Use a main program to test your code.