This document contains code snippets in C programming language for different programs. The first program uses nested for loops to print the number 3 in a triangular pattern. The second program prompts the user to input values into an array and then prints the values. The third program uses a for loop to input values into an array and print the final value of the counter. The last program uses a for loop to print numbers from 0 to the user-input value.