Write a program to print the first five natural numbers.
Answers
Answered by
0
hello
Explanation:
hope it will help you
please mark me brainlest abot
Attachments:
Answered by
0
Explanation:
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 .
Similar questions
Math,
16 days ago
Biology,
16 days ago
English,
16 days ago
English,
1 month ago
Computer Science,
1 month ago
Math,
9 months ago
Social Sciences,
9 months ago
English,
9 months ago