-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAdvertising.java
More file actions
28 lines (26 loc) · 886 Bytes
/
Advertising.java
File metadata and controls
28 lines (26 loc) · 886 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import java.io.File;
import java.io.FileNotFoundException;
import java.util.Scanner;
public class Advertising {
public static void main(String[] args) throws FileNotFoundException
{
/*
* +------------------------------+
* | M M AAA RRR SSSS |
* | MM MM A A R R S |
* | M M M A A A RRRRR SSS |
* | M M A A R R S |
* | M M A A R R SSSS |
* +------------------------------+
*
*
*/
System.out.println("+------------------------------+");
System.out.println("| M M AAA RRR SSSS |");
System.out.println("| MM MM A A R R S |");
System.out.println("| M M M A A A RRRRR SSS |");
System.out.println("| M M A A R R S |");
System.out.println("| M M A A R R SSSS |");
System.out.println("+------------------------------+");
}
}