Lab 3-2 for C Programming Class