Answer:
Option (1)
Explanation:
value is read outside the loop so it is read only once. After that the loop has begun and in the loop condition it is checked if size < capacity and as size is initialized as 3 so it is true and value if entered more than 0 then loop starts and value is assigned to a[3] and size is incremented and it continues till size is 6 and condition becomes false. So loop executes 3 times but same value is assigned.
Answer:
Python Code
Explanation:
total = 0.0
change = 0.0
itemone = float(input("Enter the first price: "))
itemtwo = float(input("Enter the second price: "))
itemthree = float(input("Enter the third price: "))
total = itemone + itemtwo + itemthree
print("Total:", total)
cash = float(input("Cash given: "))
change = total - cash
print("Your change:", change)
Answer:
Displayport uses a lower voltage than DVI and HDMI.
Explanation:
DisplayPort are cables and connector used to stream video, audio, usb or other kinds of data to the monitor screen of a computer. As defined, it can send video and audio signals on the same cable, over a long distance at a high speed.
The voltage requirement for DisplayPort is 3.3 volts while HDMI and DVI uses 5 volts.