Disclaimer: Make sure you tried enough before checking the solution
Problem: https://codeforces.com/group/MWSDmqGsZm/contest/219432/problem/A
#include<stdio.h> int main(){ int a,i; scanf("%d",&a); for(i=1;i<=a;i++){ printf("%d\n",i); } return 0; }
Assiut University Training – Newcomers solution