1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
elena55 [62]
3 years ago
14

Mad Libs are activities that have a person provide various words, which are then used to complete a short story in unexpected (a

nd hopefully funny) ways. Complete the program to read the needed values from input, that the existing output statement(s) can use to output a short story. Ex: If the input is "Eric Chipotle 12 cars" (excluding the quotes), the output is:
Computers and Technology
1 answer:
allsm [11]3 years ago
6 0

Answer:

The code is below. The output is "Eric went to Chipotle to buy 12 different types of Cars"

Explanation:

import java.util.scanner;

public class labprogram {

    public static void main (string [ ] args) {

    scanner scnr = new scanner (system.in) ;

    string firstname;

    string genericlocation;

    int wholenumber;

    string pluralNoun;

   firstName = scnr.next();

   genericLocation = scnr.next();

   wholeNumner = scnr.nextInt();

   pluralNoun = scnr.nextLine();

   system.output.println(firstname + " went to " + genericlocation + " to buy " + wholenumber + " different types of " + pluralnoun + " . ");

}

 }

You might be interested in
What was your first pokemon game<br><br><br> if you have not played one just comment don't answer
d1i1m1o1n [39]

Answer:

FireRed & LeafGreen

Explanation:

5 0
3 years ago
Read 2 more answers
What is the primary difference among a domain model, an analysis model, and a design model for the same project?
Aleks04 [339]

Answer:

The design model is the description of the model to be implemented, the analysis model is the model that links the design and the system or domain model while the domain model is the entire software implementation.

Explanation:

The domain model is the conceptual aspect of software engineering that comprises operational and data features. The analysis model is the schematic description of the system that links the design model to the system domain. The design model is also known as the object model as it shows an abstract representation of the implementation. It helps to test the quality of the software been developed.

8 0
3 years ago
What is the deference between touch screen phone and keypad phone
Mazyrski [523]
zzzzzzzzzkzkskdxjjeisiwis
8 0
3 years ago
Borrowers taking a balloon payment mortgage most likely plan to rent out their homes. must repay the loan in five to ten years.
lesantik [10]
Borrowers taking a balloon payment mortgage most likely "<span>must repay the loan in five to ten years".
</span>

<span>B<span>alloon payment refers to a fixed amount of money connected to a loan someone takes; this sum has a greater value than the actual repayment costs and can be applied at fixed periods of time at the end. </span>It can run for longer periods as well.</span>

5 0
4 years ago
Read 2 more answers
How is a ink pen better than a digital pen.
Hatshy [7]
It depends on what digital pen you're using.
Ink pens are better because they don't run out of ink like digital and you dont have to re-charge every time.
Hope this helps!:)<span />
8 0
4 years ago
Other questions:
  • Operating system software allows you to use your fingers, a mouse or other pointing device to select screen controls, such as bu
    5·2 answers
  • Which data type stores images and audio visual clips?
    9·2 answers
  • 30 points!!! Which type of a network is the Internet?
    8·2 answers
  • Which is a good plan for backing up data?
    6·1 answer
  • What is one of the most effective security tools available for protecting users from external threats?
    15·1 answer
  • What is a type of local network that people can use to access the<br> Internet?
    8·1 answer
  • Which of these tax forms reports an employee's yearly social security tax withheld
    11·2 answers
  • The Analytics tracking code can collect which of the following? (select all answers that apply) (1)-Language the browser is set
    15·1 answer
  • 1) a program that is designed to perform only one task.
    11·1 answer
  • Gina, an IT professional, noticed that the servers were running very slowly. She evaluated the system and made a recommendation
    9·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!