newbie, C codes for linux

This is my first time in the forum so I apologize if I’m not following the rules of posting.

I’m learning linux but this week I need to write few simple C codes and I never learned C programs. Can this forum help me?

Count by 1’s to the number 300 each number should display as output to the screen. For each number divisible by 4 your output should reflect that number is divisible by 7. For each number divisible by 4 and 7, your output should reflect that is divisible by 4 and 7.