Answer:
It prints "goodbye" 8 times.
Explanation:
The loop being described in this scenario would print "goodbye" 8 times. It would not include numbers detailing the range since the loop instructions only state for the system to print("goodbye") and nothing else. Also, it would only print it 8 times because in a range the endpoint is not included, this is mainly because in programming data structures tend to run on 0-based indexing.
It would be C- crop. This allows you to specifically delete parts of the image using drag and drop features. Hope this helps!
Answer:
name = input("Enter customer name: ")
quantity = int(input("Enter quantity: "))
size = input("Enter size [large-medium-small]: ")
if size == "large":
sales = (quantity / 12) * 13
if size == "medium":
sales = (quantity / 12) * 11
if size == "small":
sales = (quantity / 12) * 8.6
print(name + " ordered " + str(quantity) + " " + size + " ballons")
print("Total sales is $" + str(sales))
Explanation:
*The code is in Python.
Ask the user to enter name, quantity, and size
Check the size using if structure. Depending on the size, calculate the sales using the given cost for for a dozen.
Print the order information and total sales
40. External Peripherals of a Computer systems are the following:
-> Keyboard – this is an input device
-> Mouse – This is an input device also
-> Printer – this is an output device
-> Flashdrive – This is a storage device
-> Monitor – this is an output device
-> external hard drive – this is a storage device
Output device are those devices that communicate the results of the data processing to the user
Input device are those device that communicate the results of the data processing to the computer system
Storage device are those device that stores data.