Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise # 3 - ( 4 0 points total, each task worth 1 0 points ) Hint please see slide 1 5 in Ch 1

Exercise #3-(40 points total, each task worth 10 points) Hint please see slide 15 in Ch1-pre for tasks 1-3 and slides 20-21 Add the following logic in your main method to have the program following tasks when you run it:
Print Hello, my name is Fady Guirguis!
a. Use your own name
b. Add exclamation mark at the end
Print on a new line Java is fun, but requires much practice
a. Must use two System.out.print statements
i. One would have "Java is fun,"
ii. One would have "but requires much practice"
b. Hint one of the System.out.printIn statements will u the other println
Print on a new line this statement:
a. This homework assignment is worth these many poi
b. This homework assignment is worth these many poi be in double quotes. aka a String Literal
c.100 should be the result an arithmetic expression ( not hardcoded or typed. Java will have to perform mathematical operation.
d. Hint must use concatenation (+) for this task
e. Include the space after : and before 100
image text in transcribed

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

Students also viewed these Databases questions

Question

LO 1-4 What the costs of poor communication are.

Answered: 1 week ago