THE PROBLEM: Design and write a program in Java that will read in four characters and write out expanded images (five characters high) of the letters. The legal letters for entry are T, I and L. Any four character sequence of these three possibilities should be taken in and expanded images of them should be drawn. Example: т | (Note: you DO have to make them read horizontally, not | vertically) IMPLEMENTATION: In your program you must write several methods, including ones to draw each of the three letters. Hint: Each letter drawing method should have a parameter that tells the method which level of the image to draw -- - i.e. 1 to 5. You could also write a method that will draw one level for all four of the input characters. You should have method that keeps track of which line to print out of a given character.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter2: Using Data
Section: Chapter Questions
Problem 14RQ
icon
Related questions
Question

I am having so much difficulty coding this program. It would mean so much if I could have a screenshot of the full working code from Java. Thank you so much and take care!

THE PROBLEM: Design and write a program in Java that will read in four characters and write out expanded images (five
characters high) of the letters. The legal letters for entry are T, I and L. Any four character sequence of these three
possibilities should be taken in and expanded images of them should be drawn.
Example:
т
|
(Note: you DO have to make
them read horizontally, not
|
vertically)
IMPLEMENTATION: In your program you must write several methods, including ones to draw each of the three
letters. Hint: Each letter drawing method should have a parameter that tells the method which level of the image to draw --
- i.e. 1 to 5. You could also write a method that will draw one level for all four of the input characters. You should have
method that keeps track of which line to print out of a given character.
Transcribed Image Text:THE PROBLEM: Design and write a program in Java that will read in four characters and write out expanded images (five characters high) of the letters. The legal letters for entry are T, I and L. Any four character sequence of these three possibilities should be taken in and expanded images of them should be drawn. Example: т | (Note: you DO have to make them read horizontally, not | vertically) IMPLEMENTATION: In your program you must write several methods, including ones to draw each of the three letters. Hint: Each letter drawing method should have a parameter that tells the method which level of the image to draw -- - i.e. 1 to 5. You could also write a method that will draw one level for all four of the input characters. You should have method that keeps track of which line to print out of a given character.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 6 images

Blurred answer
Knowledge Booster
Files and Directory
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr