2.7.9: Quote Machine
Save
Submit + Continue
1 import java. util. Scanner;
2
...
Computers and Technology, 02.12.2020 07:50 krystinayagel013
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
Answers: 3
Computers and Technology, 23.06.2019 01:30
1. which of the following is a search engine? a) mozilla firefox b)internet explorer c)google d)safari 2. which of the following statements is true? a) all search engines will provide the same results when you enter the same query. b) all search engines use the same amount of advertisements. c) some search engines are also browsers. d) search engines often provide different results, even when you enter the same query.
Answers: 2
Computers and Technology, 24.06.2019 10:20
Identify the publisher in this citation: carter,alan.a guide to entrepreneurship.new york: river’2008.print.
Answers: 3
Computers and Technology, 25.06.2019 10:00
Most common level of education for a programmer or software developer
Answers: 1
Computers and Technology, 25.06.2019 14:00
What are the two parts of a cell reference? a. column intersection and row rangeb. column range and row intersectionc. column letter and row numberd. column number and row letter
Answers: 1
Mathematics, 19.03.2020 10:02
Mathematics, 19.03.2020 10:02
Mathematics, 19.03.2020 10:02