PPA-1
Question
Accept a positive integer \(n\) as input and print the first \(n\) positive integers, one number on each line.
Hint
Which loop should we use here, while or for?
If we go with a for loop, is the following solution correct?
If it is not correct, then what is the mistake?