Answer:
Not sure what language, but in python a super basic version would be:
val1 = 98
val2 = 87
val3 = 84
val4 = 100
val5 = 94
sum = val1 + val2 + val3 + val4 + val5
avg = sum / 5
print(avg)
Explanation:
Answer:
Savings, Investments
Certificate of deposit Mutual fund
Account Money Market
Gold
Explanation:
Savings is the term used to describe the proportion of ones income not spent or kept for spending at a much later date;
Saving methods includes saving money in deposit accounts, pension savings, and cash savings as well as reducing expenditures
Savings differs from investment in the sense that investments involves more risks than savings
Mutual fund
Mutual fund is a financial resource type involving the bringing together of funds gathered from several investors for investment
Money market
The money market involves buying and selling debt investments that are short terms
Gold
Gold investment is a way of diversifying risk through futures and derivatives and futures contracts
Certificate Deposit
Certificate deposit is a fixed term deposit form of savings that provides an interest on the deposit
Account
Savings and current account are meant for saving funds
Step-by-step explanation:
2x = 3y
4y = 5z
x = 3y/2
z = 4y/5
ratio between x and z is 15 : 8
The toll program illustrates the use of conditional statements;
As a general rule, conditional statements are used to make decisions
<h3>The
toll program</h3>
The toll program written in Python where conditional statements are used to make several decisions is as follows:
def calc_toll(hour, morning, weekend):
toll_fee = 0
if weekend == False:
if morning == True:
if hour < 7:
toll_fee+=1.15
elif hour < 10:
toll_fee+=2.95
elif hour <= 12:
toll_fee+=1.90
else:
if hour < 3:
toll_fee+=1.90
elif hour < 8:
toll_fee+=3.95
elif hour >= 8:
toll_fee+=1.40
else:
if morning == True:
if hour < 7:
toll_fee+=1.05
elif hour <= 12:
toll_fee+=2.15
else:
if hour < 8:
toll_fee+=2.15
elif hour >= 8:
toll_fee+=1.10
return toll_fee
Read more about conditional statements at:
brainly.com/question/24833629
#SPJ1