Answered step by step
Verified Expert Solution
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 # points total, each task worth points Hint please see slide in Chpre for tasks and slides 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 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
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started