number pattern program in c