Skip to main content

Problem Statement

Write a C program that takes a number N as input and prints all integers from 1 to N using a for loop.

Solution

Input

Output