/* -------------------------------------------------- for•¶ start/endŽw’è for_03_start_end -------------------------------------------------- */ import java.io.*; class for_03_start_end { public static void main(String[] args) throws Exception { int i; int start,end,step; BufferedReader inp=new BufferedReader (new InputStreamReader(System.in)); String keybd; System.out.print("START-->"); keybd=inp.readLine(); start=Integer.parseInt(keybd); System.out.print("END -->"); keybd=inp.readLine(); end=Integer.parseInt(keybd); System.out.print("STEP -->"); keybd=inp.readLine(); step=Integer.parseInt(keybd); System.out.print("\n"); for ( i=start ; i<=end ; i=i+step ) { System.out.print(i+" "); } System.out.print("\n"); } }