8.3.. Ispisati prirodne brojeve od 1 do 17.
Listing programa:
// P083211034;
package paket;
import java.util.Scanner;
public class Klasa_zad_08311034 {
public static void main(String[] args) {
Scanner input= new Scanner (System.in);
int i=1;
do while(i<=17);
{
System.out.println(i);
i++;
}
}}
Ispis na ekranu:
Index
|