Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Can anyone help me with these java questions? Part 1. Please use a single printl

ID: 3910998 • Letter: C

Question

Can anyone help me with these java questions?

Part 1.

Please use a single println() function to display the following content.

Note: keep the original structure and format of the text content including any punctuation and special character.

"Fair enough. But don't go looking for me to bend the knee and "m'lord" you

every time you take a s---. I'm not your today and I'm not your friend."

Bronn said to Tyrion.

--------------------------

Part 2.

write correct code to generate the corresponding random numbers in the desired range.

For example:

Range:

0 to 12 gen.nextInt(13)

===========

1. 2 to 16   

2. -11 to -1   

3. 5.0 to 9.0   

4. 100 to 199

Explanation / Answer

1) System.out.println(""Fair enough. But don't go looking for me to bend the knee and "m'lord" you every time you take a s---. I'm not your today and I'm not your friend." Bronn said to Tyrion. --------------------------"); 2) i) 2 + gen.nextInt(15) ii) -11 + gen.nextInt(11) iii) 5 + gen.nextDouble()*4 iv) 100 + gen.nextInt(100)

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote