import java.util.Scanner; public class dataku { public static void main(String[] args){ Scanner input = new Scanner(System.in); System.out.print("Masukan jumlah data ="); int data = input.nextInt(); for(int i=1;i<=data;i++){ System.out.print("data = "); // int data1=input.next(); String data1 = input.next(); String data2 = input.next(); data2 = data2 +"" +data1; System.out.println("Hasil : " +data2); } } |
0 komentar:
Posting Komentar
: Ayoo sharingg.. :D