W rite a program that prints a house
- Write a program that displays your name inside a box on the screen. Do your best to approximate lines with characters such as | – +.
- E1.6 Write a program that prints your name in large letters, such as
* * ** **** **** * *
* * * * * * * * * *
***** * * **** **** * *
* * ****** * * * * *
* * * * * * * * *
- E1.7 Write a program that prints your name in Morse code, like this:
…. .- .-. .-. -.–
Use a separate call to System.out.print for each letter.
- E1.8 Write a program that prints a face similar to (but different from) the following:
/////
+”””””+
(| o o |)
| ^ |
| ‘-‘ |
+—–+
- E1.10W rite a program that prints a house that looks exactly like the following:
+
+ +
+ +
+—–+
| .-. |
| | | |
+-+-+-+
Solution:
Looking for help with your homework?
Grab a 30% Discount and Get your paper done!
30% OFF
Turnitin Report
Formatting
Title Page
Citation
Place an Order