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
Liula [17]
3 years ago
11

Can anyone help me with edhesive 4.2 Question 1 ???

Computers and Technology
2 answers:
slava [35]3 years ago
8 0

Answer:

Question 1

sum=0

count=0

while(sum<=100):

   x=int(input("Enter a nmber"))

   sum=sum+x

   count=count+1

print("Sum: "+str(sum))

print("Numbers Entered: "+str(count))

Question 2

count = 0

pet = (input("What pet do you have? "))

while(pet != "rock"):

  count = count +1

   print("You have a " + pet +" with a total of " + str(count) + " pet(s)")

   pet = (input("What pet do you have? "))

Explanation:

Good Luck!

Otrada [13]3 years ago
6 0

Answer:

there is no question here.

                                         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaExplanation:

You might be interested in
Which of the following is one aspect of gaming that goes relatively unnoticed but
inessss [21]

Answer:

frame rate

Explanation:

4 0
3 years ago
Describe what a structure is in a living thing?
frutty [35]

Answer:

cells and tissue

Explanation:

8 0
4 years ago
Gloria is adding footers to a PowerPoint template for students to use in a literature class. Each student must choose an author
sleet_krkn [62]

Answer:

Its D

Explanation:

On edg

4 0
4 years ago
Read 2 more answers
List any four e-commerce website​
Ipatiy [6.2K]

Answer:

Amazon. Founded in the US in 1994, Amazon started as an online bookstore that later diversified to products including media, electronics, apparel, furniture, food, toys, and jewelry.

eBay. ...

Walmart. ...

Etsy. ...

Home Depot. ...

Target. ...

Best Buy. ...

Wayfair.

5 0
3 years ago
Read 2 more answers
Using a while loop, create an algorithm extractDigits that prints the individual digits of a positive integer.
sergiy2304 [10]

Answer:

The algorithm is as follows

1. Start

2. Declare Integer N

3. Input N

4. While N > 0:

4.1    Print(N%10)

4.2   N = N/10

5. Stop

Explanation:

This line starts the algorithm

1. Start

This declares an integer variable

2. Declare Integer N

Here, the program gets user input N

3. Input N

The while iteration begins here and it is repeated as long as N is greater than 0

4. While N > 0:

This calculates and prints N modulus 10; Modulus of 10 gets the individual digit of the input number

4.1    Print(N%10)

This remove the printed digit

4.2   N = N/10

The algorithm ends here

5. Stop

<u>Bonus:</u>

The algorithm in Python is as follows:

<em>n = 102</em>

<em>while n>0:</em>

<em>     print(int(n%10))</em>

<em>     n= int(n/10)</em>

<em>    </em>

8 0
3 years ago
Other questions:
  • I have gtx880m Alienware 18.4” no video how do I repaste the chip
    7·1 answer
  • You're familiar with the story of Hansel and Gretel, so when you decide to go exploring you always make sure to keep track of wh
    14·1 answer
  • Which symbol is used to identify edge-triggered flip-flops? a triangle on the clock input. the letter e on the enable input. a b
    14·1 answer
  • What need did anti lock brakes address?
    10·1 answer
  • A program executes 100 billion instructions. It executes on an IBM processor that has an average CPI of 1.2 and a clock frequenc
    15·1 answer
  • A store that has both an e-commerce site as well as a physical store (building) is known as:
    8·1 answer
  • Is the following sentence true or false? During meiosis, the two alleles for each gene stay together. ______
    15·1 answer
  • Type the correct answer in the box. Spell all words correctly.
    12·2 answers
  • It's the same drop-down answers for both.
    15·1 answer
  • Please help!! I dont need the answer i just need explaining on how to do this!!!!
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!