Write a C program to print integer numbers till user entered limit(num). Natural numbers are all the numbers from 1,…