Start learning C first, You can start by reading yashwant or Let US C for learning it. Then you can try Dennis Ricthie for intensive learning. Then write some short codes and then learn what is Arithmetic progression and then try to write this code. You will learn a lot.
wth are people still trying to use turbo C when that product is going on 35 years old (older than they are almost certainly), hasn't been supported for over 25 of those, and was created for an operating system and hardware architecture they've at most only read about or seen in a museum trip?
Yet if they don't get a new iPhone every few months they start complaining that they have such seriously outdated stuff...
and oh, learn English, learn C, and start by trying to do your own homework.