The temperature controller
Answer:
$2.40
Explanation:
the unit electricity bill is kilo watt hour.
The 60-watt light bulb has a 400 hour life expectency means it will consume
60×400/1000 = 24 KWh units of electricity. Let us suppose each unit of electricity costs is 10 cents.
Then 24×10 = 240 cents = $2.40
Answer:
sendObject(John_Doe);
Explanation:
The above code has been written in Java.
Since the calling class is the same that declares it, to invoke the method, simply call its name with its argument(s) in a pair parentheses. The name of the method is "sendObject" and its argument is a reference to an object of type Customer saved in a variable called "John_Doe". This can be written as follows:
sendObject(John_Doe);
Hope this helps!
Answer:
Select the Zoom tool, and then do any of the following:
<h2>#1. </h2>
Click and hold in the image to zoom in. Press Alt (Windows) or Option (Mac OS) to zoom out.
<h2>#2!</h2>
In the options bar, select Scrubby Zoom. Then drag to the left in the image to zoom out, or to the right to zoom in.
<h2>psst! pls, brailiest!</h2>
Answer:
name = []
price = []
for i in range(0,8):
item_name = input('name of item')
item_price = input('price of item')
name.append(item_name)
price.append(item_price)
for i in range(0, 8):
print(name[i], '_____', price[i])
Explanation:
Python code
Using the snippet Given :
Apples 2.10
Hamburger 3.25
Milk 3.49
Sugar 1.99
Bread 1.76
Deli Turkey 7.99
Pickles 3.42
Butter 2.79
name = []
price = []
#name and price are two empty lists
for i in range(0,8):
#Allows users to enter 8 different item and price choices
item_name = input('name of item')
item_price = input('price of item')
#user inputs the various item names and prices
#appends each input to the empty list
name.append(item_name)
price.append(item_price)
for i in range(0, 8):
print(name[i], '_____', price[i])
# this prints the name and prices of each item from the list.