Docsity

Solved Problems on Java Program in Computer Programming | CSC 2310, Assignments of Computer Science

Toggle sidebar
bg1
CSc2310, Spring 05 Assignment #2
Due: Feb. 02, 2005
Problem: Write a Java program, called Bear.java, using displayable
character to display the following ASCII valentine teddy bear. Your
teddy bear must be displayed 10 spaces from the left screen.
\__,,,,___,,,,,___,,,,__/
/,,,/(')\,,,/(')\,,,\
|,,,,___ _____ ___,,,,|
|,,,/ \\o_o// \,,,|
|,,| | |,,|
|,,| \__/|\__/ |,,|
\,,\ \_/ /,,/
\__\___________/__/
________________/,,,,,,,,,,,,,\________________
/ \,,,,,,,,,,,,,,,,___________,,,,,,,,,,,,,,,,/ \
( ),,,,,,,,,,,,,,/ \,,,,,,,,,,,,,,( )
\_/____________,,/ \,,____________\_/
/,/ *SWEET* \,\
|,| |,|
|,| *LOVE* |,|
|,| |'|
|,| O |,|
\,\ /,/
/,,\_____________/,,\
/,,,,,,,,,,,,,,,,,,,,,\
/,,,,,,,,_______,,,,,,,,\
/,,,,,,,,/ \,,,,,,,,\
/,,,,,,, / \,,,,,,,,\
/_____,,,/ \,,,_____\
// \,/ \,/ \\
\\_____// \\_____//
Submission: follow the submission instruction listed in our webpage.

Partial preview of the text

Download Solved Problems on Java Program in Computer Programming | CSC 2310 and more Assignments Computer Science in PDF only on Docsity!

CSc2310, Spring 05 Assignment # Due: Feb. 02, 2005

Problem: Write a Java program, called Bear.java, using displayable character to display the following ASCII valentine teddy bear. Your teddy bear must be displayed 10 spaces from the left screen.

_,,,,,,,,,,,,,_/

/,,,/('),,,/('),,,\

|,,,,___ _____ ___,,,,|

|,,,/ \o_o// ,,,| |,,| | |,,| |,,| _/|_/ |,,| ,,\ _/ /,,/ ____________/_/ ________________/,,,,,,,,,,,,,________________ / ,,,,,,,,,,,,,,,,___________,,,,,,,,,,,,,,,,/
( ),,,,,,,,,,,,,,/ ,,,,,,,,,,,,,,( ) _/____________,,/ ,,_____________/ /,/ SWEET ,
|,| |,| |,| LOVE |,| |,| |'| |,| O |,| ,\ /,/ /,,_____________/,,
/,,,,,,,,,,,,,,,,,,,,,
/,,,,,,,,_______,,,,,,,,
/,,,,,,,,/ ,,,,,,,,
/,,,,,,, / ,,,,,,,,
/_____,,,/ ,,,_____
// ,/ ,/ \ \_____// \_____//

Submission: follow the submission instruction listed in our webpage.