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
xenn [34]
3 years ago
5

A restaurant recorded the ages of customers on two separate days. You are going to write a program to compare the number of cust

omers in their twenties (ages 20 to 29). What is the missing line of code to count the number of customers in their twenties? customerAges = [13, 3, 11, 24, 35, 25, 15, 18, 1] count20s = 0 if 20 <= item <= 29: count20s = count20s + 1
Computers and Technology
1 answer:
nikklg [1K]3 years ago
4 0

Answer:

You will need to implement a for loop ( I am assuming this is java)

Explanation:

int count20s = 0;

for(int x =0; x< customerAges.length;x++){

if(20 <= customerAges[x] && customerAges[x] <= 29){

     count20s++;

}

You might be interested in
Search engines enable you to:A. talk to people via the computer.B. locate Web pages related to a specific subject.C. connect to
GalinKa [24]
The correct answer is B. locate Web pages related to a specific subject.

An example of a search engine is Google: it helps you find Websites with the content you're looking for.
3 0
3 years ago
You type a complex formula in cell A20. You would like to make the same calculation in cells B20 through H20. To be efficient, y
fomenos

Answer:

Use autofill

Explanation:

In excel "autofill" is used to fill data in cells, which follows the pattern or logic applied in other cells. To apply same calculation of A20 in B20 to H20, we use autofill technique. Instead of copy pasting, or manually entering the complex formula this method is more suitable.  

4 0
4 years ago
Please answer fast as soon as possible.
zhenek [66]

Answer:

1. Scripts area is the main working area in Scratch.

2. Sensing blocks are color-coded light blue.

3. Adware is a malware which pops up a window, informing the user that the system is infected and asks for a fee to clean it.

4. Amaya is a WYSIWYG.

8 0
2 years ago
1,
sashaice [31]

Answer:

Match the methods:

See attached file

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

2)

Methods are public, and instance variables are private in common pattern of a class definition program.

So, the correct option is (C).

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

3) Java code:

//Create a Throttle called quiz with 100 positions<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Throttle quiz = new Throttle(100);

//Method that shifts quiz's flow to the halfway

quiz.shift(50);

//Display the current flow from quiz.

System.out.println(quiz.getflow());

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

4)

Assume that the Foo class does not have a clone method. Then x is set to refer to a copy of y's object for an assignment x=y; in two Foo objects

.

So, the correct option is (A)

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

5)

The correct option is

A)

mower.top and copter.top will always be two separate instance variables.

Explanation:

8 0
3 years ago
What are some particular game ideas for a Roblox developer. *Ideas that weren't copied or done before (simulators, tycoons, you
Helga [31]

Hi! I've also been playing Roblox since 2009, and I know the struggle of wanting to create an "original" game that hasn't been made before on Roblox.

As a member of RAT and a fan of Polymorphic's games in that group, I just wanna say that the games you were a part of (and others, I'm sure) are amazing.

As for original games, that's unfortunately pretty difficult because Roblox Studio and the Roblox platform has some limitations as to what games you can create. However, I can still offer some ideas that I've always wanted to make, but couldn't because of my lack of scripting/building ability.

I used to be a huge fan of Pokemon, and games like Pokemon Arena X on Roblox. I've always wanted to make a game based off Pokemon, except instead of being limited to using 6 Pokemon at a time, I'd want to be able to build an army. For example, I want to be able to fight other trainers by commanding and summoning my various groups of Pokemon while flying on my Dragonite. Or having a separate cutscene when you encounter another trainer that looks something like Warlords 2: Rise of Demons (search this up on Google and you'll be able to see the format I'm talking about for a fight scene). If not a Pokemon conquest, maybe just another Pokemon minigame; those were always popular but ended up being deleted for reasons I'm not 100% sure of.

I've also always loved action games. What about making a game where you kill other Robloxians, but in order to do so, you have to possess NPCs within the game? You're a spirit with no power except the a starterpack of a few weapons and the ability to take over NPC bodies or characters, ranging from a snail that is extremely slow to someone who owns a gun or tank or whatever. I've never really thought about the details, but you can only possess a character for a certain amount of time before they realize they're being possessed and expel you. Then to switch "bodies", you have to spin a wheel or something and you can integrate game passes to improve probability.

These are just some ideas that you definitely don't even need to consider, and may not even be possible to integrate on Roblox's platform. But feel free to respond with your feedback or even add me on Roblox if you want to collaborate more. Just respond with your wishes and I'll get back to you when I come onto Brainly again.

Hope I was able to help :)

4 0
3 years ago
Read 2 more answers
Other questions:
  • What is a function library?
    11·1 answer
  • Where are Micro USB connectors used the most?
    11·2 answers
  • Why is musical notation important? What benefits do musicians and others receive from being able to write down and note aspects
    12·1 answer
  • What are three ways you cite evedince
    5·2 answers
  • What kinds of dogs are there
    9·2 answers
  • What is the name given a technological program that typically copies itself and moves through a computer system in order to disr
    10·1 answer
  • Write a program that administers and grades quizzes. A quiz consists of questions. There are four types of questions: text quest
    13·1 answer
  • What makes manually cleaning data challenging?
    15·1 answer
  • Some people recommend deleting social media accounts because of the troubling legal and ethical implications of social media. Do
    9·1 answer
  • 1. Write the full forms of the following.
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!