Advertisement
desislava_topuzakova

Untitled

May 7th, 2018
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. import java.util.Scanner;
  2.  
  3. public class test {
  4. public static void main(String[] agrs) {
  5. Scanner scanner = new Scanner(System.in);
  6. int n = Integer.parseInt(scanner.nextLine());
  7.  
  8. for (int i = 0; i < n ; i++) {
  9. System.out.print("*");
  10.  
  11. }
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement