package praktikum1; import java.util.Scanner; public class JaguvadArvud { public static void main(String[] args) { System.out.println("Millega jaguvad?"); int jagaja=new Scanner(System.in).nextInt(); for(int i=1; i<=100; i++){ if(i%jagaja==0){ System.out.println(i); } } } } /* Millega jaguvad? 7 7 14 21 28 35 42 49 56 63 70 77 84 91 98 */