Answer:
total = 0
items = int(input("Enter the number of items ordered: "))
for i in range(items):
price = float(input("Enter the price of item " + str(i+1) + ": "))
total += price
if total < 200:
total += (items * 10)
print("Bill is $" + str(total))
Explanation:
*The code is in Python.
Ask the user to enter the number of items ordered
Create a for loop that iterates depending on the number of items ordered. Inside the loop, ask the price of each item and add it to the total
After the loop, check the total. If it is smaller than 200, add 10 for each item to the total
Print the total
Skakskdnsmakakkskzskskslslskakidfjjfueiskxncjowkcnjsosldnxnxisoszmsmzkakaskzkkz 浜はまはまはたはまりまる
I would think option A.
b doesn't give enough information and c would go under last work experience
Answer:
B. Change the int to double in the typedef statement and recompile
Explanation:
A typedef declaration is used to assign names to database.
Syntax:
typedef data_type new_name;
For this case the initial deceleration was
typedef int bag;
To change it to double values we have to do following
typedef double bag;
Therefore, option B is correct change the int to double in the typedef statement and recompile.
Answer:
Explanation:
The user interface, in the industrial design field of human-computer interaction, is the space where interactions between humans and machines occur. The goal of this interaction is to allow effective operation and control of the machine from the human end, whilst the machine simultaneously feeds back information that aids the operators' decision-making process. Examples of this broad concept of user interfaces include the interactive aspects of computer operating systems, hand tools, heavy machinery operator controls, and process controls. The design considerations applicable when creating user interfaces are related to or involve such disciplines as ergonomics and psychology.
Generally, the goal of user interface design is to produce a user interface which makes it easy, efficient, and enjoyable (user-friendly) to operate a machine in the way which produces the desired result. This generally means that the operator needs to provide minimal input to achieve the desired output, and also that the machine minimizes undesired outputs to the human.