changed to global variables instead of pointers
-rw-r--r-- 1124 triang.c