What is the correct code to have the following output in C using nested for loop?
#include <stdio.h>
int
main () {