a = int(input("Class A tickets sold: "))
b = int(input("Class B tickets sold: "))
c = int(input("Class C tickets sold: "))
print("Total income generated: $"+str((a*20)+(b*15)+(c*10)))
I hope this helps!
Answer:
An operating system is the primary software that manages all the hardware and other software on a computer. The operating system, also known as an “OS,” interfaces with the computer’s hardware and provides services that applications can use.
Log in to your account.
Visit your profile settings.
In the Privacy section, click the “Delete Account” button.
Answer:
92
Explanation:
int index = 1 + 6 % 3;
Modulo is calculated before adding, so as first you need to calc 6 % 3, result is 0.
int index = 1 + 0 = 1;
Indexes in arrays starts from 0, ends in length - 1. So first element in the array has 0 as index, second element has 1 as idnex, etc. Your index = 1, so value of the second element in the grades will be your result. Finally, the answer is 92.