there are 3 classes letterd, letteru, letterh. each class uses loops to print asterisks in the form of letter d, u, h. each letter has two charateristics width and height. the constructor of each class accepts two integer parameters that correspond to height and width. each class also has a method called toString which returns a string that contains all the characters needed to properly form the corresponding letter. the tester program testerduh which is available.. produces the following output where the height and width of each letter are seven characters. create a duhconsole class that asks the user to enter the width and height then prints duh using those dimensions. the dimensions must be odd numbers and must be a minimum of five characters.
bettybarnes 7 Posting Whiz in Training
white feather 8 Light Poster
bettybarnes 7 Posting Whiz in Training
bettybarnes 7 Posting Whiz in Training
white feather 8 Light Poster
white feather 8 Light Poster
bettybarnes 7 Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.