herrDeng網內搜尋

自訂搜尋

Ads

2015年3月23日 星期一

EX4 字串

輸入字串s
輸入int x
輸出 x個s

57 則留言:

D10333009張賢青 提到...

import java.util.*;
class Ideone
{
public static void main (String[] args) throws java.lang.Exception
{
Scanner input=new Scanner(System.in);
int x=input.nextInt();
String name=input.next();
for (int i=0; i<x; i++)
System.out.println(i+name);
}
}

Y103140024陳穎慧 提到...

import java.util.Scanner;
class one
{
public static void main(String[] args)
{
String name;
int a;

Scanner input=new Scanner(System.in);
System.out.println("請輸入字串");
name=input.next();
System.out.println("請輸入整數");
a=input.nextInt();

for (int i=0;i<10;i++)
{
System.out.println(i+name+a);
}
}
}

D10333008王旭翔 提到...

package jones;

import java.util.Scanner;

public class joneswang1234 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i < 10; i++) {
System.out.println(i+name + x);
}
}
}

D10233203邱秀蓉 提到...

import java.util.Scanner;


public class java0323a {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(i+name );
}
}
}

Y103140024陳穎慧 提到...

import java.util.Scanner;
class one
{
public static void main(String[] args)
{
String name;
int x;

Scanner input=new Scanner(System.in);
System.out.println("請輸入字串");
name=input.next();
System.out.println("請輸入顯示次數");
x=input.nextInt();

for (int i=1;i<=x;i++)
{
System.out.println(i+name);
}
}
}

D10333015陳韻萱 提到...

import java.util.Scanner;


public class hi2 {

public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name =input.nextLine();
int x =input.nextInt();
for (int i = 0; i <10; i++) {
System.out.println(i+name + x);
}



}

}

D10333014 提到...

import java.util.Scanner;


public class hi02 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(name);

}
}
}

D10333031張裕玲 提到...

import java.util.Scanner;


public class hi2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt() ;
for (int i = 0; i < x; i++) {
System.out.println(name);
}

}

}

D10333039邱嘉琪 提到...

import java.util.Scanner;

public class HINANA {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(name);
}
}

}

D10333003盛采彤 提到...

import java.util.Scanner;


public class D10333003 {

public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int X=input.nextInt();
for (int i = 0; i < X; i++) {
System.out.println(name);
}


}

}

D10233203邱秀蓉 提到...

import java.util.Scanner;


public class java0323a {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
System.out.println("請輸入字串");
String name=input.next();
System.out.println("請輸入數字");
int x=input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(i+name );
}
}
}

D10033305呂健宏 提到...

import java.util.Scanner;

public class DADBOY2 {

public static void main(String[] args) {

Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i =0; i < x; i++){
System.out.println(name);
}
}

}

D10333004夏志明 提到...

import java.util.Scanner;


public class hello0323 {

public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0;i < x; i++){
System.out.println(name);
}
}

}

D10333003盛采彤 提到...

import java.util.Scanner;


public class D10333003 {

public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int X=input.nextInt();
for (int i = 0; i < X; i++) {
System.out.println(name);
}


}

}

D10333008王旭翔 提到...

package jones;

import java.util.Scanner;

public class joneswang1234 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(i+name);
}
}
}

D10333012范秀娟 提到...

import java.util.Scanner;


public class hi2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i <x; i++) {
System.out.println(i+name);
}
}
}

D10333024黃培瑛 提到...

import java.util.Scanner;


public class hi123 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt() ;
for (int i = 0; i < x; i++) {
System.out.println(name);
}

}

}

B10033077陳光浩 提到...

import java.util.Scanner;


public class abc {

public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int X=input.nextInt();
for (int i = 0; i < X; i++) {
System.out.println(name);
}


}

}

Y10310066 陳昤瑄 提到...

Y10310066 陳昤瑄


import java.util.Scanner;


public class hi1 {

private static Scanner input;

public static void main(String[] args) {
input = new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i =0; i <x; i++) {
System.out.println(name);
}
}


}

D10033303 謝凱宇 提到...

import java.util.Scanner;


public class wa {

public static void main(String[] args){
// TODO Auto-generated method stub
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for(int i = 0; i < x; i++){
System.out.println(name);
}
}
}

D10333033江淑婷 提到...

import java.util.Scanner;


public class hi2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(name);
}


}

}

D10333013吳竑逸 提到...

import java.util.Scanner;


public class hi2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i <x; i++) {
System.out.println(i+name);
}

}
}

D10333016羅勝耀 提到...

import java.util.Scanner;


public class hi2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(i+name);
}
}
}

D9933084陳睿喆 提到...

import java.util.Scanner;


public class abc {

public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int X=input.nextInt();
for (int i = 0; i < X; i++) {
System.out.println(name);
}


}

}

d10333022劉俊谷 提到...

import java.util.Scanner;


public class hi2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(i+name);
}
}
}

D10333023陳幼卿 提到...

import java.util.Scanner;


public class hehehe {

public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i =0; i < x; i++) {
System.out.println(name);
}


}

}

D10333023陳幼卿 提到...

import java.util.Scanner;


public class hehehe {

public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i =0; i < x; i++) {
System.out.println(name);
}


}

}

D10333010 柯羿瑄 提到...

D10333010 柯羿瑄


import java.util.Scanner;


public class hio {
private static Scanner input;

public static void main(String[] args) {
input = new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i =0; i <x; i++)
System.out.println(name);


}

}

D10333034洪芷茵 提到...

D10333034 洪芷茵

import java.util.Scanner;


public class jhu {
private static Scanner input;

public static void main(String[] args) {
input = new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i =0; i <x; i++)
System.out.println(name);

}
}

D10333015陳韻萱 提到...

import java.util.Scanner;


public class hi2 {

public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name =input.nextLine();
int x =input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(i+name + x);
}



}

}

D10333015陳韻萱 提到...

import java.util.Scanner;


public class hi2 {

public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name =input.nextLine();
int x =input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(i+name + x);
}



}

}

10333049洪竫暄 提到...

public class hi2 {
public static void main(String[] args) {


Scanner input=new Scanner(System.in);
String name="你好";
int x=1234;
for (int i =0; i <10; i++)
System.out.println(name+x);


}

}

D10033093葉正傑 提到...

import java.util.Scanner;


public class work {

public static void main(String[] args) {
// TODO Auto-generated method stub

{

Scanner input=new Scanner(System.in);
System.out.println("輸入字串");
String name=input.next();
System.out.println("輸入整數");
int x=input.nextInt();

for (int i=0;i<x;i++)
{
System.out.println(name);
}

}
}
}

D10333049洪竫暄 提到...

public class hi2 {
public static void main(String[] args) {


Scanner input=new Scanner(System.in);
String name="你好";
int x=1234;
for (int i =0; i <10; i++)
System.out.println(name+x);


}

}

D10033203 黃琮崴 提到...

D10033203 黃琮崴

package njinj;

import java.util.Scanner;

public class iiihh2 {

public static void main(String[] args) {

Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i =0; i < x; i++){
System.out.println(name);

}

}
}

D10033301江姿穎 提到...

import java.util.Scanner;


public class work {

public static void main(String[] args) {
// TODO Auto-generated method stub

{

Scanner input=new Scanner(System.in);
System.out.println("請打字串");
String name=input.next();
System.out.println("請打整數");
int a=input.nextInt();

for (int i=0;i<a;i++)
{
System.out.println(name);
}

}
}
}

D10333002徐國智 提到...

import java.util.Scanner;


public class hello {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int x=input.nextInt();
String name=input.next();
for (int i=0; i<x;i++){
System.out.println(i+name);
}

}

}

D10333049洪竫暄 提到...

public class hi2 {
public static void main(String[] args) {


Scanner input=new Scanner(System.in);
String name="你好";
int x=1234;
for (int i =0; i <10; i++)
System.out.println(name+x);


}

}

D10333037楊茗程 提到...

import java.util.Scanner;

public class Poss {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(i+name + x);
}
}

}

D10333030張佑榕 提到...

import java.util.Scanner;


public class ex2 {

public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0;i < x; i++){
System.out.println(name);
}
}

}

D10333019 吳鴻陞 提到...


import java.util.Scanner;



public class aa {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
String name=input.next();
int x= input.nextInt();
for (int i = 0; i < 10; i++)
System.out.println(i+name + x);
}

}

d10333001 羅原福 提到...

import java.util.Scanner;


public class holl1 {

public static void main(String[] args)
{
Scanner input=new Scanner(System.in);
int x=input.nextInt();
String name=input.next();
for (int i=0; i<x; i++)
System.out.println(i+name);
}

}

D10333038 歐俊吉 提到...

package hello;

import java.util.Scanner;

public class hi2 {
public static void main(String[] arge) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(i+name);
}
}

}

D10033203 黃琮崴 提到...

package njinj;

import java.util.Scanner;

public class iiihh2 {

public static void main(String[] args) {

Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i =0; i < x; i++){
System.out.println(name);

}

}
}

D10333020徐瑞志 提到...

import java.util.Scanner;


public class hi2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i < x; i++)
System.out.println(name);
}
}

D10133086 范元譯 提到...

import java.util.Scanner;






public class HI2 {
public static void main(String[] args){
Scanner input = new Scanner(System.in);
String name= input.next();
int x = input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(i+name);
}


}


}

D10333049洪竫暄 提到...

public class hi {

public static void main(String[] args) {

String hame="你好";
int x=1234;
for (int i =0; i <10; i++)
System.out.println(hame+x);


}

}

D10333041張晉豪 提到...

import java.util.Scanner;


public class hi2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i < x; i++)
System.out.println(name);

}

}

D10033029 吳武俊 提到...

import java.util.Scanner;

public class d10033029_1 {

public static void main(String[] args) {

Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i =0; i < x; i++){
System.out.println(name);
}
}

}

D10333040 王崇安 提到...

import java.util.Scanner;


public class hi2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(name);
}


}

}

D10333051 呂秀娟 提到...

package jones;

import java.util.Scanner;

public class joneswang1234 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(i+name);
}
}
}

D10333049洪竫暄 提到...

public class hi {

public static void main(String[] args) {

String hame="你好";
int x=1234;
for (int i =0; i <10; i++)
System.out.println(hame+x);


}

}

D10333026汪子揚 提到...

import java.util.*;
class Ideone
{
public static void main (String[] args) throws java.lang.Exception
{
Scanner input=new Scanner(System.in);
int x=input.nextInt();
String name=input.next();
for (int i=0; i<x; i++)
System.out.println(i+name);
}
}

D10333052陳雅淇 提到...

package jones;

import java.util.Scanner;

public class joneswang1234 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(i+name);
}
}
}

D10333012范秀娟 提到...

import java.util.Scanner;


public class hi2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i <x; i++) {
System.out.println(name);
}
}
}

D10033003陳志翔 提到...

import java.util.Scanner;

public class D10033003 {

public static void main(String[] args) {

Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i =0; i < x; i++){
System.out.println(name);
}
}

}

D10333007 馮婷鈺 提到...

import java.util.Scanner;


public class hello2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String name=input.next();
int x=input.nextInt();
for (int i = 0; i < x; i++) {
System.out.println(name);
}

}

}

Related Posts Plugin for WordPress, Blogger...

熱門文章