Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

THE PROBLEM: Design and write a program in Java that will read in four characters and write out expanded images ( five characters high )

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:
T I L T
----------|-----
||||(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 a method that keeps track of which line to print out of a given character.
WHAT TO HAND IN: Just like every other assignment be sure to include your code, along with screen shots of your program in action.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David Kroenke

11th Edition

0132302675, 9780132302678

More Books

Students also viewed these Databases questions

Question

7. What are the main provisions of the FMLA?

Answered: 1 week ago

Question

2. Do small companies need to develop a pay plan? Why or why not?

Answered: 1 week ago