A restaurant recorded the ages of customers on two separate days. You are going to write a program to compare the number of customers in their forties (ages 40 to 49).

What is the missing line of code?

customerAges = [33, 23, 11, 44, 35, 25, 35, 68, 51]

count40s = 0
for item in customerAges:
_____;
count40s = count40s + 1
print("Forties:", count40s)


if 40 > item > 49

if 40 < item < 49

if 40 <= item <= 49:

if 40 >= item >= 49

Answers

Answer 1

Answer:

if 40>= item >=49

Explanation:


Related Questions

A ____ is a rectangular object you can click; when you do, its appearance usually changes to look pressed.

Answers

Answer:

button

Explanation:

moving images of real event​

Answers

Answer:

What

Explanation:

Write a function float Average(int, int) that finds the mean, and then write a main program that inputs two numbers from the user repeatedly until the user enter “0”. You need to call the function and display the mean of two numbers in the main. C++ language only.

Answers

The program illustrates the use of functions.

Functions are used to group related code segments that act as one, when called.

The program in C++ where comments are used to explain each line is as follows:

#include <iostream>

using namespace std;

//This defines the Average function

float Average(int num1, int num2){

   //This returns the average of the numbers

   return (num1+num2)/2.0;

}

//The main method begins here

int main(){

   //This declares the numbers as integer

   int num1, num2;

   //This gets input for both numbers

   cin>>num1; cin>>num2;

   //This is repeated until the user enters 0

   while(num1!=0 || num2 !=0){

       //This calls the average function, and prints the average

       cout<<Average(num1,num2)<<'\n';

       //This gets input for both numbers, again

       cin>>num1; cin>>num2;

   }

   return 0;

}

Read more about similar programs at:

https://brainly.com/question/17378192

Please define processor​

Answers

Processor means to break down something.

Find the error in the following code fragment. int a: System.out.print(a):​

Answers

Answer:

If your using java, then its supposed to be "System.out.print("a")"    

Explanation:

its supposed to have quotations

¿Qué juegos pueden jugarse en un Raspberry 4 B con 2 GB de RAM?

Answers

Answer:

flow chart of sales amount and commission %of sales

when demonstrating 2022 altima’s parking assistance, what steering feature should you mention when pointing out how easy the vehicle is to steer at low speeds?

Answers

Based on automobile technology, when demonstrating 2022 Altima's parking assistance, the steering feature one should mention when pointing how easy the vehicle is to steer at speed is "the Cruise Control w/Steering Wheel Controls."

What is Cruise Control w/Steering Wheel Controls?

The Cruise Control w/Steering Wheel Controls allow the driver or the user to adjust the car's speed to the present rate, either lower or higher.

The Cruise Control feature assists in providing additional time and distance between the car and another one in front when parking or highway.

Hence, in this case, it is concluded that the correct is "the Cruise Control w/Steering Wheel Controls."

Learn more about the same parking assistance in an automobile here: https://brainly.com/question/4447914


Pls help me pls I’m struggling

Answers

you have it correct

A numeric test score is to be converted to a letter grade of A, B, or C according to the following rules: A score greater than 90 is considered an A; a score between 80 and 90, inclusive, is considered a B; and any other score is considered a C. What code segments will assign the correct letter grade to grade based on the value of the variable score?

Answers

The code segment makes use of conditional statements.

Conditional statements in programming are used to make decisions

The code segment in C++ is as follows

if (score > 90) {

grade = 'A';

}

else if (score >= 80 && score < =90) {

grade = 'B';

}

else {

grade = 'C';

}

The above code segments take the score, make comparison, and then determine the appropriate letter grade.

Read more about code segments at:

https://brainly.com/question/20475581

II and III

Explanation:If it is the test i think it is

I is incorrect because it is saying that automatically it is set as C but if the score is over 90 then you get an A if it's anything else then it's a B. This is false because then your outcome will never be C. It would only be A or B.
II is correct because it starts off by saying that if the score is greater than 90 then you'll get an A if else then if your score is equal to or greater or equal to than 80 then you get B and then if anything else then it's a C. This incoorporates everything.
III is also true because it start off by saying if anything is below an 80 then you automatically get a C. If it's anything over than 80 then if it's equal to or less than 90 then you get a b and if it's anything else then you get an A. This also checks out which means it's true.
So the answer is II and III

How does a cell phone change the
incoming signals from a caller into sound that
you can hear

Answers

Answer:

they send electrical signals to the buzzer. The buzzer changes those electrical signals into sound. You hear the buzzer sound and know that someone is calling you.

Explanation:

Answer: Cell phone or any electric device you can say changes the electric signal to radio waves at transmitting end which is converted back to electric signal and perceived as sound waves at receiving end

Explanation:

This computer is used by touching your finger.
A Desktop
C. Mainframe
B. Laptop
D. Tablet​

Answers

Answer:

a tablet because it's controlled by the touch of a finger.

Fill in the blank: Every database has its own formatting, which can cause the data to seem inconsistent. Data analysts use the _____ tool to create a clean and consistent visual appearance for their spreadsheets.

Answers

The tool used by data analysts to create a clean and consistent visual appearance for their spreadsheets is called clear formats.

A database refers to an organized or structured collection of data that is typically stored on a computer system and it can be accessed in various ways. Also, each database has a unique formatting and this may result in data inconsistency.

In Computer science, a clean data is essential in obtaining the following:

Data consistencyData integrityReliable solutions and decisions.

Furthermore, spreadsheets are designed and developed with all kinds of tools that can be used to produce a clean data that are consistent and reliable for analysis.

In this context, clear formats is a kind of tool that is used by data analysts to create a clean and consistent visual appearance for their spreadsheets.

Read more on database here: https://brainly.com/question/15334693

Why is experience in their own factory setting
crucial for a manager in the manufacturing
business?

Answers

Answer:

How to Manage Manufacturing Operations Effectively

Ensure High-Quality Products. ...

Ensure High-Quality Equipment. ...

Know How To Maximize Resources. ...

Look Into Technological Advancements. ...

Check Your Customer Service. ...

Consider Reducing Waste. ...

Conclusion.

Explanation:

Which of the following is true regarding computer science careers?
A. There are a limited number of jobs in this field.
B. There are not different job types in this field.
C. The number will increase over the next several years.
D. You must be a programmer to work in this field.
(WILL MARK BRANLIEST IF CORRECT)

Answers

Answer: There are several different job types in this field.

Explanation: did the test and got it right

Answer:

A or C!

Explanation:

Im pretty sure its one of those answers. I think its C though! If I'm wrong, please tell me! I just did the test and I forgot if I got it right or not. It wont let me go back in-

- A FLVS student with a 99.91 percent in computer science (Totally not bragging!)

can’t be opened because apple cannot check it for malicious software.

Answers

Answer:

try to reset  your computer.

Explanation:

Discuss the ways you can perform to prevent your computer/device and its data/contents from being stolen. Define two-facto authentication.

Answers

Answer:

is a security that needs two types of identification to access what your trying to enter.

Explanation:

Ex= to enter email, you first need to put in password, then verify by phone call that u need to enter.

codes 7.2.8: Listed Greeting python
pls help i have no idea on how to fix this

Answers

The listed greetings program is an illustration of Python functions.

The error in the program is that the program is not properly indented.

Python program uses indents to identify blocks of code.

So, the fix to the program is to properly indent the code, and the fix (without the comments) is as follows:

def greetings(s):

   x = s.split()

   print("Hello, "+x[0]+"! I also enjoy "+x[1]+"!")

Read more about Python programs at:

https://brainly.com/question/16240699

____________________ are protocols used by routers to make path determination choices and to share those choices with other routers.

Answers

Answer: Routing protocols

Explanation:

how does digital and hybrid computers differ in portability​

Answers

Answer:

Digital computers perform functions like mathimatical,compex calculations. while hybrid computers work with the duo combinations like analog and tempature.

Explanation:

I passed the class A+

yourwelcome :)

thank me if it was correct for you too.

Pls help me pls I’m struggling

Answers

Answer:Turn Right () Degrees (block)

The turn right () degrees block is a Motion block and a stack block. The block turns its sprite's direction the specified amount of degrees clockwise.

List three (3) features of first generation computer

Answers

Answer:

features are

the first generation computer were based on vacuum tube technology

they were very large in size,very slow in speed and very low in capacity

they used to get heat very soon

Main electronic component – vacuum tube.

Main memory – magnetic drums and magnetic tapes.

Programming language – machine language.

Power – consume a lot of electricity and generate a lot of heat.

what is the term for delivering an application over the internet called?

Answers

Answer:

Cloud computing

Explanation:

The termnology which is used to describe the delivering of an application over the internet is called SaaS.

What is SaaS?

SaaS is an acronym for Software as a Service and it can be defined as a type of cloud computing delivery model that typicaly involves developing and making licensed software applications available to end users on a subscription basis and over the Internet, especially by centrally hosting these software applications within the cloud or through a third-party (vendor).

This ultimately implies that, Software as a Service (SaaS) is a termnology which is used to describe the delivering of an application over the internet.

Read more on SaaS here: https://brainly.com/question/24852211

What software type is software that is distributed free of charge, but the source code is not available

Answers

Answer:

Closed Source software programs

please help
Felicity wants to take her DSLR camera on vacation, but she can take only one bag. Why is taking a DSLR camera with her not a good idea?

Answers

The reason why taking a DSLR camera with her is not a good idea is because a DSLR camera and its accessories usually require their own bag and can be heavy.

A digital single-lens reflex (DSLR) camera is being used by photographers especially for shooting stunning landscapes or portrait images. DSLR cameras are durable and can be used with a variety of lenses and attachments, they have a long battery life, and provide faster shooting speeds with better autofocus.

Therefore, the reason why taking a DSLR camera with her is not a good idea is because a DSLR camera and its accessories usually require their own bag and can be heavy, whereas she can only take one bag with her.

Learn more about digital single-lens reflex (DSLR) camera here:

https://brainly.com/question/13972212

Answer:

I got the answer here:

Explanation:

_____ is the dynamic storage allocation algorithm that results in the largest leftover hole in memory.

Answers

Answer: Worst fit

Explanation:

Which of these problems is correct if the numbers are binary numbers?
Group of answer choices

1 + 1 = 2

1 + 1 = 10

0 + 0 = 1

1 + 0 = 10

Answers

Answer:

1 + 1 = 10

Explanation:

2 does not occur in the binary "alphabet"

0 + 0 = 0 in any base, so also in binary

1 + 0 = 1 in any base, so also in binary

The answer is 1 + 1 = 10
1 = 1 in binary numbers, so 1 + 1 = 2 but 2 in binary numbers is 10, 2 doesn’t exist in binary numbers, it is only 1s and 0s so therefore it would be 10.

which computer belongs to the first generation?​

Answers

ENIAC (Electronic Numerical Integrator and Calculator .)

Which of the following would be the most appropriate way to define a method that calculates and returns the final price, after tax and tip, for a passed in price, assuming tip is always 15% and tax is always 8%?

a. public double getFinalPricel double tips, double tax).
b. public double getFinal Price double tax)
c. public double getFinalPrice/double basePrice, double tips)
d. public double getFinalPrice double basePrice, double tips, double tax)

Answers


D. I hope it helped

difference between boot disk and booting in 5 points​

Answers

[tex]Answer \: -[/tex]

In computing, booting is the process of starting a computer. It can be initiated by hardware such as a button press, or by a software command. After it is switched on, a computer's central processing unit (CPU) has no software in its main memory, so some process must load software into memory before it can be executed. This may be done by hardware or firmware in the CPU, or by a separate processor in the computer system.

A boot disk is a removable digital data storage medium from which a computer can load and run an operating system or utility program. The computer must have a built-in program which will load and execute a program from a boot disk meeting certain standards.

c) Put these stages into the correct order.
(i) Script (ii) aim
(iii) Outline

Answers

Answer:

Aim

Script

Outline

Yan po answer, wag nang echoss mwa mwa

Other Questions
Select the correct answer.How often do you need a tetanus immunization in order to maintain immunity?.One timeOB.Childhood immunizations only (three doses)C.Every two yearsD.Every 7-10 yearsResetNext Can anybody help me with these three problems thank you 460,451,442,...Find the 37th term.Find the 37th term. The inability to recall some or all of previously learned information is called __________. A. Forgetting B. Retrieving C. Encoding D. Remembering. hagalo ahora. write sentences using the words provided. use formal or informal commands and the subjects indicated(tu) ayudarlos a traer la compra.(uds) practicar el frances(tu) buscarme un reproductor de mp3 bueno (ud.) salir antes de las cinco(uds.) no ser malas personas(ud.) decirle lo que desea Read and choose the option that best answers the questionSoy Ral. Antes de dormir, primero me lavo el pelo. Segundo, me seco el pelo. Tercero, me lavo las manos con el jabn. Cuarto, me pongo la ropa interior limpiaantes de acostarme.What does Ral do before drying?He showers.He washes his head.He bathesHe dampens his feet. Hailey wacthed 30% of the 120 shows in her favrite seires. How many more epsiodes will she need to wacth to finnish the series? (ik this easy) Jose is trying to pick out an outfit for the first day of school. He can choose from 2 pairs of pants, 6 t-shirts, and 3 pairs of shoes. How many different outfits does Jose have to choose from? I need assistance with this Which presidential campaign slogan best demonstrates an unwarranted extrapolation?. What is the difference? StartFraction x 5 Over x 2 EndFraction minus StartFraction x 1 Over x squared 2 x EndFraction StartFraction x squared 4 x minus 1 Over x (x 2) EndFraction StartFraction x squared 4 x 1 Over x (x 2) EndFraction StartFraction 4 Over negative 1 (x squared x minus 2) EndFraction StartFraction x squared 6 x 1 Over x (x 2) EndFraction. Write an inequality that represents the graph. HELP PLS, ill reward w brainlist or whatever those things r JUST HELP Which expression is equivalent to the expression below? 15 + 10x - 14x - 9 Help Plz !!!Suppose a manufacturer knows from previous data that 3.5% of one type of lightbulb are defective. The quality control inspector randomly selects bulbs until a defective one if found.Is this a binomial experiment? Why or why not?A. No, because the number of trials is not fixed.B. No, because each trial cannot be classified as a success of failure.C. Yes, because the situation satisfies all four conditions for a binomial experiment.D. No, because the trials are not independent. A rectangular swimming pool is 8 ft deep. One side of the pool is 3.5 times longer than the other. The amount of water needed to fill the swimming pool is 2800 cubic feet. Find the dimensions of the pool. The smaller dimension of the pool is enter your response here ft and the larger dimension is enter your response here ft. In the standard (x, y) coordinate plane, what is thedistance between the origin and the point (,5 12) 2. Complete the sentences and questions with the past simple form of the verbs in brackets. Use the affirmative, negative or interrogative forms.1 _______ (you / write) an email to James last night?2 I _______ (buy) the English-English dictionary because it was very expensive.3 _______ (Stuart / see) Karen yesterday evening? She wanted to speak to him.4 We _______ (go) to the cinema last Friday, but the film was terrible!5 Mum _______ (cook) dinner last night. We went to a restaurant instead.6 I dont want lunch today because I _______ (have) a big breakfast this morning.7 _______ (you / go) to the film club last Wednesday?3. Complete the dialogue using the words in brackets.Mel Ali? Are you there?Ali Just a minute! 1________________ (I / listen) to some loud music I'll turn it down. That's better. How are you?Mel Fine thanks! What's new?Ali Nothing much. 2________________ (I / wait) for Hannah to come round at the moment.Mel 3__________________ (I / not understand)! You 4________________ (not / like) Hannah!Ali Yes, I know! But 5________________ (she / help) me with maths and physics this weekend, because 6________________ (I / need) to pass these exams on Monday.Mel So 7________________ (you / study) all weekend? Ali Yes there's a lot to remember! Helpppp me please omg The store ordered an equal amount of flour and rice. Flour is packed in 60 kg and rice in 50 kg. How many kilograms of flour and rice will you order if the store warehouse has a maximum of 22 bags?