Problem:
Question 1: Write a program to compute the area of a triangle with base b and height h.
Question 2: In C: Write a function that
1. opens a pgm image in binary format
2. determines whether the function is grayscale or colour
Write the code step by step and explain it.