啊哈添柴挑战Java1411. 100个Hello?
作者:互联网
啊哈添柴——挑战
1411. 100个Hello?
import java.util.Scanner;
/**
* @author yinglongwu
*/
//1411. 100个Hello?
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
for (int i = 0; i < n; i++) {
System.out.println("Hello");
}
scanner.close();
}
}
标签:Scanner,添柴,int,System,Java1411,100,Hello,scanner 来源: https://blog.csdn.net/qq_43594119/article/details/104920625