write a program to print first 100 natural nos
Answers
Answered by
1
Answer:
input upper limit to print natural number from user. Store it in some variable say N .
Run a for loop from 1 to N with 1 increment. The loop structure should be like for(i=1; i<=N; i++) . ...
Inside the loop body print the value of i .
PLS MARK ME AS BRAINLIEST
Similar questions