Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int a = sc.nextInt();
- int b = sc.nextInt();
- int c = sc.nextInt();
- int d = sc.nextInt(); int e = sc.nextInt();
- for (int i=0; i<a; i++) {
- System.out.println("===");
- }
- for (int i=0; i<b; i++) {
- System.out.println("++");
- }
- for (int i=0; i<c; i++) {
- System.out.println("HI");
- } for (int i=0; i<d; i++) {
- System.out.println("Yummy");
- }
- for (int i=0; i<e; i++) {
- System.out.println("Bruce");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement