Write a program to print integers 1 to the given integer (N)

Viewed 30

Input is 3 and 5 the output should be of N lines printing an integer in each line for example if the given number is 3 your code should print 1 2 3

0 Answers
Related