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
LekaFEV [45]
4 years ago
15

Write a Python program that uses a loop to calculate the total of a series of fractions as below. Inside the loop should be the

two statements to (a) divide the numerator by the denominator and (b) add the result to a total. Display the total after the loop. Notice that the numerator increases by 1 after each iteration and the denominator decreases by 1. The lower and upper values in both cases are 1 and 30.
Computers and Technology
1 answer:
Kruka [31]4 years ago
3 0

Answer:

numeratorValue = 1

denominatorValue = 30

count = 0

while numeratorValue <= 30:

   difference = numeratorValue / denominatorValue

   count += difference

   numeratorValue += 1

   denominatorValue -= 1

print(count)

Explanation:

  • Initialize the required variables and run a while loop until the numeratorValue is less than 30.
  • Inside the while loop, calculate the difference by dividing the numeratorValue by denominatorValue .
  • Add the value of difference variable to the count.
  • Increment both the numeratorValue and denominatorValue .
  • Lastly display the value of count.
You might be interested in
What is the function of HTML?
Igoryamba

Answer:

option A is correct answer of this question

hope it helps

4 0
3 years ago
Read 2 more answers
Which of the following type of software is the most powerful for managing complex sets of data?
devlian [24]
Well i thinck the ancer is b
5 0
4 years ago
Read 2 more answers
How do companies use LinkedIn ?
Semenov [28]

Answer:

  1. Introducing new products or services you’ve developed.
  2. Differentiating yourself from your competitors.
  3. Finding job candidates who can make a significant contribution to your business success.
  4. Checking on what your competition is doing.
  5. Improving your ranking in search engines.
8 0
3 years ago
Read 2 more answers
What caused the wiki sans glitch?
Jlenok [28]

Answer:

The c.do

Explanation:

The C.Do1 is a thing in wiki that causes a glitch because it makes a third party system for other programs and people to edit or cause it to bug or glitch.

6 0
3 years ago
BitLocker Encryption can be deployed three ways. Identify which of the descriptions best describes the Computer Authentication m
ch4aika [34]

To  know  the descriptions best term about the Computer Authentication method is that On the motherboard of many laptops is a chip known as the TPM (Trusted Platform Module) chip. The BitLocker encryption key can be found on the TPM chip (also called the startup key).

<h3>How can a computer be verified?</h3>

The user or machine must demonstrate their identity to the server or client during authentication. A user name and password are typically required for server authentication. Card-based authentication, retinal scanning, voice recognition, and fingerprint authentication are further options.

Therefore, Data theft or exposure from lost, stolen, or improperly retired computers is a hazard that is addressed by the OS system-integrated data protection feature BitLocker Drive Encryption.

Learn more about Computer Authentication method from

brainly.com/question/3522088
#SPJ1

3 0
1 year ago
Other questions:
  • "​the three legs of a project triangle are _____, scope, and time."
    8·1 answer
  • Which of these computers was marketed as a computer/game machine?
    15·2 answers
  • You can join tables by using a condition in the ____ clause.​
    7·1 answer
  • O que é sistema distribuido?
    8·1 answer
  • One of the network printers is producing copies where the toner is smeared on paper after printing. What component should be che
    11·1 answer
  • What are those jackets called the ones with lots of straps inside, like in movies where they store there ammo etc?
    13·1 answer
  • The following are the CPU and I/O behavior of three processes, timings in seconds.
    9·1 answer
  • What do we call a statement that displays the result of computations on the screen
    12·2 answers
  • How does abstraction make programming languages easier to use
    15·1 answer
  • For which of the four game elements will you give a detailed description about the challenges that the player will face, such as
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!