Fujitsu interview question

to write c program using for loop to draw particular pattern.