Could you please add comments explaining the procedures? (you can use library functions, etc, from C version C99 if you wish)The goal of this exercise is to implement a C program to display integer in seven-segment display format. (1) Calculators, watches, and other electronic devices often rely on seven-segment displays for numerical output. To form a digit, such devices “turn on” some of the seven segments while leaving others “off” 11I TLIILILI LII111 1LI (2) In your program, the user is asked to input an integer. After reading the input, the program will output the inputted integer using seven-segment displays. You should use a three dimensional array of characters to store the 10 digits Here is what the array may look like: const char segements[10] (3) [3]- Only the initialization for segments(0] is given and you should fill in the rest. Do not forget the sign of the integer.