subject

2.7.9: Quote Machine Save
Submit + Continue
1 import java. util. Scanner;
2
3 public class QuoteMachine
5
6
public static void main(String[] args)
{
Scanner input = new Scanner(System. in);
8
9
// Ask for a quote
// Ask for the author
1
// Create a new String that has the quote in quotation marks
// Don't forget to escape the quotation marks
// Print the quote, then the author on the next line
// But you can only use ONE print statement!
System. out. println("Enter a quote: ");
String quote = "\nEnter the author of the quote: ";
quote += "\n" + "Oh the places you'll g9":
System. out. println("Enter the author of the quote: ");
String author = "\nDr. Seuss";
17
18
19
20
21
22
23
24
25
26
27
28
29

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 13:30
Select the correct answer from each drop-down menu. which types of computer networks are bigger as well as smaller than a man? a man is a network of computers that covers an area bigger than a , but smaller than a .
Answers: 1
question
Computers and Technology, 25.06.2019 07:30
Which behavior demonstrates teamwork
Answers: 1
question
Computers and Technology, 25.06.2019 08:40
Anyone took cgs 1060 and took exam for simnet, slide 50 question on 1st exam.
Answers: 3
question
Computers and Technology, 25.06.2019 13:00
Which color produces a calming effect on the mind a. pink b. blue c. red d. white e. green
Answers: 1
You know the right answer?
2.7.9: Quote Machine Save
Submit + Continue
1 import java. util. Scanner;
2
...
Questions
question
Mathematics, 27.11.2019 19:31