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
pychu [463]
2 years ago
7

Assume: itemCost = input(“Enter cost of item: “) Write one line of code that calculates the cost of 15 items and stores the resu

lt in the variable totalCost
Computers and Technology
1 answer:
Anna71 [15]2 years ago
5 0

itemCost = input("Enter cost of items: ")

totalCost = 15 * float(itemCost)

print(totalCost)

The first line gets the total cost of the item from the user. The second line calculates the cost of 15 of those items and stores that value in the variable totalCost. The last line is just to test that our calculation works. I hope this helps!

You might be interested in
i need a moderator or someone to answer this :/ why do i keep getting notifications that i have a new chat or a new answer/comme
Lyrx [107]

Answer:

It happens to me as well. Maybe check emails?  It could also be a bug.

Explanation:

4 0
3 years ago
Read 2 more answers
The tcp/ip ____ layer commonly uses the transmission control protocol (tcp) to maintain an error-free end-to-end connection.
aleksklad [387]
The answer would be the TCP/IP Application Layer.
6 0
3 years ago
Computer industries and organizations also face issues related to health, safety, and environmental issues. In this task, you wi
Pavel [41]

Answer:

"(Answers may vary.)

Your essay should detail the issues related to health, safety, and the environment. It should include the following points:

personal health and safety

issues related to ergonomics

health issues when working with computers, such as eyestrain, muscle pain, and so on

safety issues such as power surges, electric shock, and so on

environmental issues such as pollution caused by electricity consumption

e-waste and technology-related waste

use of non-renewable resources in production

Then write about the ways in which these issues are handled. Cover these points:

implementation of ergonomic designs

safety precautions

health-conscious design

recycling of waste and non-wasteful usage of resources

energy-efficient design"

Explanation:

5 0
3 years ago
Column A contains numbers from rows 1 to 20. You can use the formula (blank) to find the value of the largest number divided by
storchak [24]
This question can easily be answered if you have an idea about handling spreadsheet applications.

Let's say MS Excel
<span>Column A contains numbers from rows 1 to 20. You can use the formula _______ to find the value of the largest number divided by the total number of value.

In MS Excel, the formula MAX ( ___ ) and COUNT ( ____ ) to get the value
= MAX(A1:A20) / COUNT(A1:A20)</span>
6 0
2 years ago
Read 2 more answers
Using the given definition of the Measurable interface:
xxTIMURxx [149]

Answer:

B

Explanation:

B since "m" is declared in the BankAccount class, you don't need to use "m.BankAccount" like in the main method, so B is out. C is not necessary because m is already a BankAccount object, and D isn't necessary because you aren't extending a class.

8 0
2 years ago
Other questions:
  • What isthe concept of packets, give example?
    9·1 answer
  • Networking Gadgets, Inc. currently employs eight people but plans to hire 10 more in the next four months. Users will work on mu
    10·1 answer
  • Given positive integer num_insects, write a while loop that prints that number doubled up to, but without exceeding 100. Follow
    8·1 answer
  • Pls help! ive been looking everywhere online but I couldn't find the answer to this:
    5·1 answer
  • The space force enhancement function concerned with providing data on meteorological, oceanographic, and space environmental fac
    12·1 answer
  • An element in an array is 4 bytes long and there are 10 elements in the array. How big is the array?
    6·2 answers
  • Tornado Alley is located in the middle of the United States, extending from Texas up through the Dakotas. The above statement is
    6·1 answer
  • A recursive method may call other methods, including calling itself. Creating a recursive method can be accomplished in two step
    14·1 answer
  • Write the definition of a function that takes as input three numbers. The function returns true if the floor of the product of t
    11·1 answer
  • Are there any Potential Dangers in Artificial Intelligence?
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!