It could be c or d because when you are chatting to someone through say Skype you use fonts and colors to identify who you are talking to. But in most cases it would be d
the answer is style, because it is a game developemnt. you need style
Answer:
i do not know what to do there.
Explanation:
there's no pictures
Answer:
The solution code is written in Python 3
- SPY = float(input("Enter SPY Amount: "))
- QQQ = float(input("Enter QQQ Amount: "))
- EEM = float(input("Enter EEM Amount: "))
- VXX = float(input("Enter VXX Amount: "))
-
- totalAmount = SPY + QQQ + EEM + VXX
- print("Total amount invested: $" + str(totalAmount))
- print("Percentage invested for SPY: " + str(SPY / totalAmount * 100) + "%")
- print("Percentage invested for QQQ: " + str(QQQ / totalAmount * 100) + "%")
- print("Percentage invested for EEM: " + str(EEM / totalAmount * 100) + "%")
- print("Percentage invested for VXX: " + str(VXX / totalAmount * 100) + "%")
Explanation:
Firstly, let's declare four variables, SPY, QQQ, EEM and VXX and use input() function to prompt user to input the amount invested in each fund (Line 1 - 4).
Next, sum up all the funds' amount and assign the total to totalAmount variable (Line 6).
Next display the total amount invested and the percentage invested for each fund using print function (Line 7 - 11). Please note the formula to calculate the percentage of investment is
(fund / totalAmount ) * 100