Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package letter;
- /**
- *
- * @author Monty
- */
- public class Letter {
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args) {
- System.out.printf("%50s\n", "+------------------------------------------------+", args);
- System.out.printf("%-6s%10s\n", "|\t\t\t\t\t", "#### |", args);
- System.out.printf("%-6s%10s\n", "|\t\t\t\t\t", "#### |", args);
- System.out.printf("%-6s%10s\n", "|\t\t\t\t\t", "#### |", args);
- System.out.printf("%-6s\n", "|\t\t\t\t\t\t |", args);
- System.out.printf("%-6s\n", "|\t\t\t\t\t\t |", args);
- System.out.printf("%-6s%18s\n", "|\t\t\t", "Named Person\t |", args);
- System.out.printf("%-6s%18s\n", "|\t\t\t", "5 Street Dr.\t |", args);
- System.out.printf("%-6s%18s\n", "|\t\t\t", "Town ST 87655\t |", args);
- System.out.printf("%-6s\n", "|\t\t\t\t\t\t |", args);
- System.out.printf("%50s\n", "+------------------------------------------------+", args);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement