java perulangan kata dinamis ::
import java.io.*;public class ulangjava {
public static void main(String[]args) throws IOException{
int batas;
String batasStr,kata;
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader input = new BufferedReader(isr);
System.out.print("masukkan kata yang akan diulang = ");
kata=input.readLine();
System.out.print("batas perulangan = ");
batasStr=input.readLine();