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
AVprozaik [17]
3 years ago
12

Write a program that will allow a grocery store to keep track of the total number of bottles collected for a seven-day period. T

he program should allow the user to enter the number of bottles returned for each day of the seven-day period. The program will accumulate the total number of bottles returned for the 7-day period. Then calculate the amount paid out (the total bottles returned times .10 cents). The output (display) of the program should include the total number of bottles returned and the total paid out. Allow the user to enter multiple transactions
Computers and Technology
1 answer:
Anna35 [415]3 years ago
7 0

Answer:

  • Print the values days of bottles.
  • Display total number of bottles collecting.
  • Display the payout for this transaction.

Explanation:

Program:-

DEPOSIT_PER_BOTTLE = 0.10

another = "Y"

while another=="Y":

   print("Input Values 7 days of bottles:")

   total = 0

   for I in range(7):

       collected_bottles = int(input())

       total += collected_bottles

   payout = total*DEPOSIT_PER_BOTTLE

   print("Total number of bottles collected: {:,}".format(total))

   print("Payout for this transaction $%.2f"%payout)

   another = input("Do you want to complete another transaction? ").upper()

You might be interested in
Select all the correct answers.
monitta

approvals necessary to bypass the policy

6 0
3 years ago
Read 2 more answers
With reasons explain why a computer system is said to be more intelligent than the human brain​
belka [17]

Answer:

The rising power of computers and advances in Artificial Intelligence has reenergized the debate of intelligence of computers relative to humans. Human brain has about 100 billion neurons which are often compared to gates in computers.

Explanation:

6 0
3 years ago
Pls help I am behind
Kaylis [27]

Answer:

whats the exact question?

Explanation:

8 0
3 years ago
Is the XS or the XR better for gaming?
r-ruslan [8.4K]
In my opinion I think that the iPhone XR is better for gaming.
7 0
3 years ago
Read 2 more answers
A word object in an excel worksheet to activate the word features
wlad13 [49]
Hello.

You activite a word feature by <span> Double-clicking it.
</span>
Then <span>Table > Excel Spreadsheet

Have a nice day</span>
3 0
3 years ago
Other questions:
  • It is important to keep a copy of your written plan and safety records off-site. A) True B) False
    6·2 answers
  • The ____ is a new feature in versions of microsoft office, starting with office 2007; it consists of tabs, which contain groups
    5·1 answer
  • Peter wants to query to determine the names of the students who scored more than 95 in the internal assessment test which functi
    7·1 answer
  • You are troubleshooting a connectivity problem in your corporate network and want to isolate the problem. You suspect that a rou
    6·1 answer
  • A small company is requesting a quote to refresh its wireless network. The company currently runs 60 autonomous APs and has plan
    13·1 answer
  • Given the scenario, before leaving the office, you ask the CIO to provide which formal document authorizing you to perform certa
    11·1 answer
  • Assume you need to declare a type parameter that can represent any type that implements the interface Comparable. Which type par
    15·1 answer
  • Which two tools used for incident detection can be used to detect anomalous behavior, to detect command and control traffic, and
    13·1 answer
  • Write a program that produces the following output:CCCCCCCCC CC CC CC CC CCCCCCCCC Note: The letter C in the output must be uppe
    10·1 answer
  • Read the following scenario, and then decide if you should upgrade the computer. You have a desktop that you use primarily for w
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!