/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Matkul;
/**
*
* @author kumal
*/
public class M7_namaFor {
public static void main(String[] args) {
java.util.Scanner input = new java.util.Scanner(System.in);
System.out.print("Masukkan nama: ");
String nama = input.nextLine();
for(int i=1; i<=100; i++) {System.out.println(nama);}
}
}
Like this:
Like Loading...
Related