write a c program with codeblocks

Hi,

Please write a program by using C language and use codeblocks to write the program. Also, please while writing the program add comments on every step you take, explaining the steps and functions that you used ,for example( printf is used to print the following statement…) and so on .

Thank you 😀