SaveText.Ru

Без имени
  1. package com.company;
  2.  
  3. import java.util.Scanner;
  4.  
  5. public class Main {
  6.  
  7.     public static void main(String[] args) {
  8.         // write your code here
  9.         Scanner rus = new Scanner(System.in);
  10.         int a = 2;
  11.         for (a = 1 ; a <=100 ; a += 2){
  12.             System.out.println(a);
  13.  
  14.  
  15.         }
  16.  
  17.     }
  18. }
  19.  

Share with your friends:

Print