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
Question :
BlackZzzverrR [31]

Answer:

D

Explanation:

Search engine optimization (SEO)

4 0
3 years ago
Viktor has climbed a tall tree to get a good view of the giraffes on the savannah. He is snapping lots of photographs of the gir
igomit [66]

Answer: C. a good vantage point

3 0
3 years ago
Write a loop that displays all possible combinations of two letters where the letters are 'a', or 'b', or 'c', or 'd', or 'e'. T
Dafna11 [192]

Answer:

for (char outerChar='a'; outerChar<='e'; outerChar++){

for (char innerChar='a'; innerChar<='e'; innerChar++){

cout << outerChar << innerChar << "\n";

}

}

3 0
2 years ago
Name a software program?​
Tju [1.3M]

Answer:

mathematica ,is a software program helps to solve maths equation ...

Explanation:

mark me as brainliest ❤️

6 0
2 years ago
The following is not an example of a character device:_____.
melisa1 [442]

The following is not an instance of a character device:  <u>mouse sound card.</u>

<h3>What is a char machine?</h3>

Character machines are devices that do not have physically addressable storage media, such as tape purposes or serial ports, where I/O is normally served in a byte stream.

<h3>What are feeling and block devices?</h3>

The block machines access the disk using the system's normal buffering mechanism. The surface devices provide for direct communication between the disk and the user's read or write buffer.

To learn more about Character machines, refer

brainly.com/question/25280941

#SPJ4

6 0
1 year ago
Other questions:
  • Create and apply a css class named bigblue, which selects a large, blue-colored font.
    11·1 answer
  • Which of the operating systems listed below is not proprietary?
    8·1 answer
  • As the demand for goods and services increases, job growth _____. a. increases b. decreases c. remains the same d. none of the a
    15·2 answers
  • Explain the history of computing of mechanical era
    14·2 answers
  • Dynamically allocatе mеmory for a DNA objеct and storе its addrеss in a variablе namеd dnaPtr
    11·1 answer
  • Suppose L is a LIST and p, q, and r are positions. As a function of n, the length of list L, determine how many times the functi
    8·1 answer
  • When you're working with a word processing document and you press the DEL Key what happens
    7·2 answers
  • How many strings with five or more characters can be formed from the letters in seeress?
    15·1 answer
  • How was the Big Ben project similar to the investigation you conducted in class to determine if the table was vibrating? How is
    7·1 answer
  • How do i block somebody on here, theyre making me have a panic attack. /srs
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!