Allan Didier

Block Initials

Goals

Write a Java program that prints to the console. 

Skills

  • Expressions and assignment statements.
  • Output to console.

Program Details

PP 1.10, p 56 of Java book
Write an application that displays your initials in large block letters. Make each large letter out of the corresponding regular character. Block letters should be 10 lines tall. Draw at least 3 initials. If you don’t have a third initial, make one up. For example:

            AAAAAA              JJJJJJJJJJJJJJJJJJ          DDDDDDDDDD
        AAAAAAAAA           JJJJJJJJJJJJJJJJJJ         DDDDDDDDDDD
       AAA         AAA                       JJJJJJJJ                   DDD                 DDD
       AAA         AAA                       JJJJJJJJ                   DDD                 DDD
       AAAAAAAAAA                      JJJJJJJJ                  DDD                 DDD
       AAAAAAAAAA                      JJJJJJJJ                  DDD                 DDD
       AAA          AAA                      JJJJJJJJ                  DDD                 DDD
       AAA          AAA                      JJJJJJJJ                  DDD                 DDD
       AAA          AAA             JJJJJJJJJJJJJJ              DDDDDDDDDDD
       AAA          AAA             JJJJJJJJJJJJJ                DDDDDDDDDD

Resources

Edhesive Term 1, Lesson 1 and 2: Console output, output control, and comments.

Lesson 1: Console output

Lesson 2: Output control and comments