Which of the following statements tests if users walked 10,000 or more steps and ate fewer than 25 grams of sugar?
A. if(steps >= 10,000 and sugar > 25);
B. if(steps >= 10,000 or sugar < 25):
C. if(steps >= 10,000 and sugar < 25):
D. if(steps > 10,000 or sugar < 25):

Answers

Answer 1

Answer:

C. if(steps >= 10,000 and sugar < 25):

Explanation:

This is a combined statement, where by two different conditions are being evaluated. The statement only returns TRUE; if each of the two conditions are TRUE.

The sign '>=' means greater than or equal in computer programming.

Hence, steps >= 10000 (step is 10000 or more)

< less than

Sugar < 25 (sugar is below of fewer Than 25)

and : requires that the two conditions comes up true for any data passed in.

Answer 2

Answer:

C. if(steps >= 10,000 and sugar < 25):

Explanation:

This makes it so the if statement not only needs to have both sides of the and statement true, but has both sides correct, as the user walked exactly or more then 10,000 steps, and has eaten more than 25 grams, not exactly 25 grams of sugar.


Related Questions

Need the answer ASAP!!! I’ll mark brainliest if correct

Select the correct answer.
Project team member Kevin needs to define the use of change bars to show deleted and modified paragraphs. Under which standards does
this fall?
O A.
interchange standards
OB.
identification standards
O C.
update standards
OD.
process standards
O E.
presentation standards

Answers

Answer:

update standerds

Explanation:

An energy source that is bought and sold.​

Answers

Commercial energy sources are bought and sold.

Need the answer ASAP!!!!!!!!
I’ll mark brainliest if correct

Drag each label to the correct location on the image. Match the correct component to the part on the flowchart

Procedure 1

subroutine

procedure 2

decision

input

End

Start

Answers

Answer:

i answerd this on a diffrent page

Explanation:

14. Which of the following is NOT a
component of the computer system?
a) Data
b) Hardware
c) Information
d) Software​

Answers

Answer:

It’s B, hardware

Answer:

B. Hardware

Explanation:

Too many applications running on startup can slow down your computer.
True
False

Answers

Answer:

True.

Explanation:

There are many reasons that are behind your computer running slow.

One of the reasons is too many applications running on startup.

Startup applications can be defined as those software programs that loads each time your computer starts. These startup application is also known as boot up program or startup program.

Thus the given statement is true.

In a language JUNGLE is codded as UJNGEL then how will BANDID is codded?​

Answers

[tex]\huge\tt\underline\pink{BANDID\:✒\:ABNDDI\:✅}[/tex]

Step-by-step explanation:-

J ⇢ [tex]\sf\purple{U}[/tex]

U ⇢ [tex]\sf\purple{J}[/tex]

N ⇢ [tex]\sf\red{N}[/tex]

G ⇢ [tex]\sf\red{G}[/tex]

L ⇢ [tex]\sf\blue{E}[/tex]

E ⇢ [tex]\sf\blue{L}[/tex]

The first two letters [tex]\sf\purple{"J"}[/tex] and [tex]\sf\purple{"U"}[/tex] are interchanged and they take each other's place respectively. The third and fourth letters [tex]\sf\red{"N"}[/tex] and [tex]\sf\red{"G"}[/tex] maintain their position. The fifth and sixth letters [tex]\sf\blue{"L"}[/tex] and [tex]\sf\blue{"E"}[/tex] also take each other's place respectively.

Following the above sequence, we have

B [tex]\sf\purple{A}[/tex]

A [tex]\sf\purple{B}[/tex]

N [tex]\sf\red{N}[/tex]

D [tex]\sf\red{D}[/tex]

I [tex]\sf\blue{D}[/tex]

D [tex]\sf\blue{I}[/tex]

[tex]\circ \: \: { \underline{ \boxed{ \sf{ \color{green}{Happy\:learning.}}}}}∘[/tex]

What are the five types of alignment in Word? side, middle, top, bottom, and graphing left, center, right, decimal, and bar tab, alt, shift, control, and function page layout, review, view, references, and insert

Answers

Answer:

side, middle, top, bottom, and graphing.

Explanation:

Answer: A. side middle top bottom and graphing

Explanation: Saw it on Edgen.

In his digital portfolio, Ben wants to locate each work he created. Where can he list details about the work in his digital portfolio?
A. résumé
B. tracking worksheet
C. reference letter
D. objective statement

Answers

Answer: it’s B

Explanation:

I just took the test and got it right. The other answer is incorrect.

the abuse of children is a symptom of

Answers

Mental issues such as anger issues
the abuse is a anger issue.

Select the correct answer from each drop-down menu.
According to the IEEE guidelines, what is required to find a large amount of reference information during documentation?

According to the IEEE guidelines, a/an___________ is required to help ________ A large amount of reference information during documentation

Options for the first box:list of page numbers, index, glossary

Options for the second box: locate, list, summarize

Answers

Answer:

glossary

summarize

Explanation:

i am positive that this is correct

According to the IEEE guidelines, a glossary is required to help summarize a large amount of reference information during documentation.

What are the IEEE guidelines?

IEEE guidelines are the manual for the editorial guidelines of IEEE transaction, letters, journals, etc.

The edits include punctuation, capitalization, abbreviations, biographies, etc.

Thus, the correct options are glossary and summarize.

Learn more about IEEE guidelines

https://brainly.com/question/17030694

#SPJ2

Which type of programming language is used to write instructions that are directly executed by a computer’s processor?

A.
compiled language
B.
interpreted language
C.
low-level language
D.
high-level language
E.
procedural language

Answers

Answer:

D

Explanation:

ou are working at the frozen yogurt shop in the mall. Your boss asks you to count how many flavors have the word chocolate in their name. You begin going through the list of flavors, but quickly realize that there are over 9000 flavors to check! Luckily, your boss stored all of the different flavors in a Java Array named flavorArray on the company computer. Write a Java program to count the number of flavors that have chocolate in their name.

Answers

Answer:

Following are the code to the given question:

int j,chocolateFlavorCount = 0;//declaring integer vvariable

for(j=0;j< flavorArray.length;j++)//defining a loop that starts from 1 to array length

{

if(flavorArray[i].contains("chocolate"))//use if that checks array contains string value that is chocolate

{

chocolateFlavorCount++;//incrementing integer variable value

}

}

System.out.println(chocolateFlavorCount);//printing integer variable

Explanation:

In this question, an integer variable "chocolateFlavorCount, and j" is declared, in which j used in the for loop. The loop starts from 1 and stops when it is equal to the array length it also defines an if block that checks array contains string value that is chocolate.If the condition is true it will increment integer variable value and print its values.

Rate these 3 fnaf characters from 1-3 tell me who you find the scariest as well
MICHEAL AFTON CIRCUS BABY GOLDEN FREDDY

Answers

Answer:

Golden Freddy is the scariest in my opinion

Answer:

Micheal Afton=3/3

Circus Baby=3-3

Golden Freddy=2/3

In my opinion, I'd say Circus Baby because of how her voice sounds like.

Pro and Cons of Artificial Intelligence in Art

You must have 3 statements in each

Answers

Answer:

The answer is below

Explanation:

Aritifiaicla intelligence in art is an artwork created by the application of artificial intelligence software.

Some of the pros of artificial intelligence in the art are:

1. It creates a new and improved interface, specifically in graphic design such as virtual reality and 3D printing

2. It creates and mixes the artistic ideas properly, such as mixing of different instruments in music to creates a new sound

3. It establishes graphical and visual display with no blemishes o,r error when applied accordingly, such as AUTOCAD

The cons of artificial intelligence in art are:

1. Artificial Intelligence lacks emotional sense. Hence it is challenging to display artistic elements that portray genuine emotions

2. It lacks creativity. Unlike humans, artificial intelligence is not as creative as humans when it comes to words or sentence constructions in an artistic sense.

3. It doesn't apply experience to its productions. Arts can be improved with more understanding of what is happening in the society or environment; artificial intelligence cannot translate its experience into arts formation.

how do i give brainliest? if what you say works i'll give de brain

Answers

two people have to answer the question and at the bottom of the question you'll see a crown and you just click on that to give them brainliest

Answer:

When Two people answer a question A crown should appear at the bottom where you find the buttons like and rat/e so once you click it the crown will go to the top of the question of the question that you think is the best.

Explanation:

Which is the greatest potential drawback to a liberal market?


increased monopolization

decreased technological advancement

lack of consumer regulations

increased cybercrime


you can only pick one, if u get it wrong ima visit u tonight.

Answers

Answer; increase momonolatizion
Hope helps

HELP PLEASE !!!!!!!!!!!! Amy needs to ensure that she can enter a parameter that will match the values End, deadend, and flatend. Which option will she use?

a. “end*”
b. “*end”
c. “&end”
d. “end&”

Answers

Answer: it’s d ynnn

Explanation:

It’s d

The post-closing trial balance shows the balances of only the ____ accounts at the end of the period.
A. liability
B. asset
C. temporary
D. permanent​

Answers

Answer: The post-closing trial balance shows the balances of only the “permanent” accounts at the end of a period. So your answer is D. Permanent.

Have a nice day!

PLEASE HELP ME!!!!

I recently got a new phone. It's awesome but there's one problem I can't fix for the life of me. I have downloaded like 10 apps for reminders and none of the reminders for anything are showing up. I rely heavily on reminders because I just can't count on myself to remember stuff. I have all my notifications on and nothing is blocked from notifications. What do I need to do? This is beyond frustrating.​

Answers

Answer:

Hi, when you downloaded it did you deny notifications? Are you on do not disturb? Try checking your notifications for that app specifically.

Explanation:

Answer:

Did you try going into settings, then notifications, and turning the notifications for the app on?

Login
c. Unscramble the following wewards and uurite them
Korrectly win the blandes
1.ELLC:
2. RMULAFO:
3.CTIONFUN:
1. COUMNL:​

Answers

Answer:

1. Cell

2. Formula

3. Function

4. Column

3. The Central Processing Unit is made of
the following units
a) Hardware and Software
b) Control Unit and Arithmetic and
Logic Unit
c) Control Panel and Toolbar
d) All of the above​

Answers

Answer:

a

Explanation:

jjwjwjwwjwjwjwjwjwj#k#kwkekee

100 POINTS NEED THIS BEFORE 11:59 TODAY!!!!!!!!!!!!!!!

Answers

Answer:ok be how hobrhkihfehgdhdj fuiufiisefif jfkijfjfhhfhfhfhf

Explanation:

Type the correct answer in the box. Spell all words correctly.
Which resource can you give out to your audience to ensure a better understanding of the presentation?
Provide ________
of the presentation topic to the audience at the beginning or end of the presentation to ald in better understanding.

Answers

Answer:

Eveidence

Explanation:

<3

Answer:

evidence

Explanation:

too easy lol

When you have completed this module, you will be able to do the following:

Answers

nothing matters because this was legit a few moths ago so pogers

What is Free Fire? And why it is globally most rated and installed app?​

Answers

Answer:

Free Fire is the ultimate survival shooter game available on mobile. Each 10-minute game places you on a remote island where you are pit against 49 other ...

Explanation:

Need answer ASAP!!!!

They’re not in the right spots just showing you where they can be placed

Answers

Answer:

I am looking at it. Of course I can't  move anything. But I think relationship matches cardinality and entity matches entity name. Entities and entity relationships were what we used years ago when I was involved with designing hierarchical databases.

you will get a 8 out of 10 score for this

 

Why don’t many cyber criminals ever go to jail?

Answers

Because it is hard to locate them and prove guilt I believe

Answer: Most laws are national in their implementation, despite cybercrime conventions, where the Internet is borderless and international by definition. Countries do not agree, which makes this area exceptionally challenging from a legal perspective.

What are the 6 major forms that Energy can be grouped into?

Answers

Answer:

The 6 Forms of Energy. There are many forms of energy: like solar, wind, wave and thermal to name a few, but the 6 Forms of Energy we study in Needham are: *Sound, Chemical, Radiant, Electric, Atomic and Mechanical. *Sound Energy- is produced when an object is made to vibrate.

Explanation:

Stay up

define the following terms: Line authority,in your own words.

Answers

The power given to a person in a supervisory position who makes decisions and actions by subordinates. An engineer manager is an example of like authority.

22 POINTS IF YOU GET THIS RIGHTTTT

KACHOW!! Is a catchphrase used by?

Answers

Lightning McQueen in the Disney movie, Cars

KACHOW
Other Questions
The height, h, in feet of a golf ball above the ground after being hit into the air is given by the equation, h = -16t 2 + 64t, where t is the number of seconds elapsed since the ball was hit. How many seconds does it take for the golf ball to hit the ground?It will take ___seconds for the ball to hit the ground. i will give brainliest Five friends take a maths testAdam, Brandon, Chen together together scored 200 marksBrandon, Chen and Damion together scored 215Chen, Damion, Erica together scored 224Damion and Erica scored more than ChenThe five of them together scored 350 marksWhat are their individual scores What are 3 reasons why the U.S. was able toindustrialize so quickly? Draw a lake and label the photic, aphotic, littoral, limnetic, and benthic zones How many spoonfuls of water did it take for your sponge to be 100% saturated? In a spacecraft, the carbon dioxide exhaled by astronauts can be removed by its reaction with lithium hydroxide according to the following equation: How many moles of lithium hydroxide are required to react with 19.2 mol CO2, the average amount exhaled by a person each day? PLEASE HELP ME! ASAP! Thank you! prehistoric European art essay 1. Imagine that you are a prehistoric artist and write a 350 to 500 word story explaining why you are an artist and what the purpose of your art is. Be clear about what time period and location you are from. You may do research about prehistoric art, but be sure to include a bibliography if you do, and credit any direct quotes you use. Help find the value of x please. A rectangular football field is 64 meters wide and 100 meters long. A player runs from one corner of the field in a diagonal line to the opposite corner. How far did the player run? Round to the nearest whole meter. *115 meters118 meters119 meters120 meters What are the effects of radiation on different surfaces such as an ice- covered lake, a forest, an ocean, or an asphalt road? nuts are dry need tips to make them slippery ] Simplify 400-[200+35-70(100/25)}] hurry plz 4. Why do Konovolov and the other officer come to blows? Write the expression with fewer terms. 10x-2x Lincoln received what percentage of the popular vote? Complete the table.tableDistances:a = b = c = Heights:d = e =f = In the current year, she sold her interest in Activity D for a $10,000 gain. Activity D, which had been profitable until last year, had a current loss of $1,500. Answer the following questions to determine how the sale of Activity D affects Sarah's taxable income in the current year. a. The amount of suspended losses carried forward to the year of the sale is $fill in the blank 1 20,000 . b. What amount of the suspended losses is allocated to Activity D A b c or d?? Lmk..Brainly 9 yd9 yd9 yd9 yd7.8 yd