Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

To create a Java program that will demonstrate their understanding of the Java program skeleton, and the print and println statements. Related SLOs:

 To create a Java program that will demonstrate their understanding of the Java program skeleton, and the print and println statements.

Related SLOs:

    SLO #1: Use an appropriate programming environment to design, code, compile, run, and debug computer programs.

Instructions:

    Using jGRASP, write a Java program named LastnameFirstname01.java, using your last name (Williams) and your first name (Stanley), that does the following:
        Use print() and println() to print out your answers to the following survey:
            Name:
            Your fave book/movie/TV show, or one you've enjoyed lately:
            Name a place you'd like to visit:
            List 3 interests:
            Programming background:
        Use print and println() to do the following tasks:
            Print out your initials using asterisks or hashtag symbols
            Print out a poem, haiku, or limerick of your choice
        Use line comments in the main method block to explain what your code is doing
            Remember that line comments start with this: //
            Remember that line comments won't be printed out
        Use both the print() and println() methods at least once each.
        Make sure to also print out an explanation of what is happening in the program, so the user understand what the program is doing.
    Always begin your code with the following documentation comments. This should be above public class ProgramName {

/**
 * Short description of the program.
 *
 * @author     Williams, Stanley
 * @assignment ICS 111 Assignment 1 - print and println
 * @date       01/11/23
 * @bugs       Short description of bugs in the program, if any.
 */

Expected Output:

    This is an example of what your program should output:

 ----jGRASP exec: java StanleyWilliams01
Hello! My name is Stanley Williams. Here is some information about me!

Fave book/movie/tv show:            Bloodsport
Name a place you'd like to visit:   Japan
List 3 interests:                   1. Meditation and spirituality
                                    2. Playing with kids
                                    3. Watching boxing
Programming background:             None

**************************

Here are my initials NM: (Replace with SW)

#   #    #     #
##  #    ##   ##
# # #    # # # #
#  ##    #  #  #
#   #    #     #

**************************

Here's a silly limerick I like:

An elderly man named Keith,
Mislaid his set of false teeth,
They'd been laid on a chair,
He'd forgot they were there,
Sat down, and was bitten beneath.

 ----jGRASP: operation complete.

Submission Instructions:

    Save and upload with the name WilliamsStanley01.java file.
    DO NOT submit the .class file, submit only the .java file.

Step by Step Solution

3.43 Rating (143 Votes )

There are 3 Steps involved in it

Step: 1

Sure lets put together a simple Java program that follows the given instructions Below is a potential response to the task java The program presents s... 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

Java An Introduction To Problem Solving And Programming

Authors: Walter Savitch

8th Edition

0134462033, 978-0134462035

More Books

Students also viewed these Programming questions

Question

=+b) What is the factor?

Answered: 1 week ago

Question

Why does this person have this want or need?

Answered: 1 week ago

Question

What does this person want or need from me?

Answered: 1 week ago

Question

4.3 Describe the five stages of active listening

Answered: 1 week ago