Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.io.*;
- public class Main {
- public static void main(String[] args) throws Exception {
- //напишите тут ваш код
- BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
- String text = reader.readLine();
- String num = reader.readLine();
- int numInt = Integer.parseInt(num);
- while (numInt > 0) {
- System.out.println(text);
- numInt--;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement