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
balandron [24]
3 years ago
15

Write some code that uses a loop to read such a sequence of non-negative integers, terminated by a negative number. When the cod

e exits the loop it should print the number of consecutive duplicates encountered. In the above case, that value would be 3.
Mathematics
1 answer:
Marysya12 [62]3 years ago
5 0

Answer:

a

Step-by-step explanation:

You might be interested in
Which of the following statements is false?
nikklg [1K]

Answer:

B. Given quadrilateral ABCD, BC⎯⎯⎯⎯⎯⎯⎯⎯ and AD⎯⎯⎯⎯⎯⎯⎯⎯ are adjacent

Step-by-step explanation:

A. A square has 4 congruent sides and 4 congruent angles, so it is a regular polygon. True.

B. Draw the quadrilateral and label the vertices in the order shown. Given quadrilateral ABCD, BC and AD are opposite sides, not adjacent sides. False.

C. All angles of a rectangle are right angles that measure 90 degrees. True.

D. True by a theorem.

4 0
3 years ago
Read 2 more answers
The function of h is defined by hx=2x-7 what is the value of h8
photoshop1234 [79]

Answer:

hx,= 2x-7

h8 = 2(8) -7

= 16-7

= 9

7 0
3 years ago
Which number line can you use to simplify 2 - (-8)?
tigry1 [53]

i would say c is the best answer or the 3rd one


3 0
3 years ago
Coby needs to know the area and perimeter of his farm property. The length of his property is 1 6 mile and the width is 2 9 mile
Alexandra [31]

Answer:

P= 7/9 miles

A= (7/18) miles²

Step-by-step explanation:

Length 'l' = (1/6) mile

Width 'w'= (2/9) mile

Perimeter 'P' is given by:

'P' = 2l + 2w => 2(1/6) + 2(2/9)

P= 7/9 miles

Area 'A' is given by:

A= l x w =(1/6) x (2/9) = (7/18) miles²

3 0
3 years ago
Please help!!!!!!!!!!
Delicious77 [7]

f(x)=2x^2-4x+1

Substitute the values of x to the equation of the function f:

x=-1\to f(-1)=2(-1)^2-4(-1)+1=2(1)+4+1=7\\\\x=2\to f(2)=2(2^2)-4(2)+1=2(4)-8+1=1

Therefore we have two points (-1, 7) and (2, 1).

We can calculate the slope of line l.

The formula of a slope:

m=\dfrac{y_2-y_1}{x_2-x_1}

Substitute:

m=\dfrac{1-7}{2-(-1)}=\dfrac{-6}{3}=-2

<h3>Answer: A) -2.</h3>
5 0
3 years ago
Other questions:
  • Rosa can make 8 dozen cupcakes in 3 hours. How many dozen cupcakes can she make if she has 10 1/2 hours to bake the cupcakes
    9·1 answer
  • a certain drug is made from only two ingredients compound a and compound be there are 5 ml of compound a used for every form a c
    15·1 answer
  • Place these metric units in order from the smallest to the largest: meter, millimeter, kilometer, decimeter, centimeter, dekamet
    8·1 answer
  • Mitchell works at a concession stand selling hotdogs and cans of soda. A hotdog costs $3.00 and a can of soda costs $1.00. One n
    9·1 answer
  • Please help I don't know how to do this ​
    13·1 answer
  • NEED HELP ASAP!!!!
    15·1 answer
  • Discounted 40%. A weed eater originally sells for $145. How much will the weed eater
    13·1 answer
  • Sum of the exterior angles of polygons
    9·1 answer
  • Please help I’m in the middle of an exam!!
    12·1 answer
  • Guys please helppppppppppppppppppppppppppppp
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!