import java.util.Scanner; public class Loop { public static void main(String[] args) { // how would you sum numbers from 1 to n? // how woudl you print numbers from 1 to n? // or from n to 1? System.out.println("Enter a positive number"); int n = ITI1120.readInt(); int count = 1; // from 1 to n while(count <= n) { System.out.println(count); count = count + 1; } //System.out.println(count); } }