Solution:
initial = float(eval(input('Enter the monthly saving amount: ')))
x = (1 + 0.00417)
month_one = initial * x
month_two = (initial + month_one) * x
month_three = (initial + month_two) * x
month_four = (initial + month_three) * x
month_five = (initial + month_four) * x
month_six = (initial + month_five) * x
print('The sixth month value is: '+str(month_six))
Don't forget the saving amount, and initialize the balance with that amount. Inside the loop, work out and add the interest and then add the saving amount for the next month.
balance = 801
for month in range(6):
balance = balance * (1.00417)
print(balance)
Answer:
The output is 35
Explanation:
Required
Determine the output on line 5
We start by analysing the program line by line.
On line 1: kit = 20
On line 2: roo = 10
On line 3: kit = kit + 5
Substitute 20 for kit.
So, we have
kit = 20 + 5
kit = 25
On line 4:
roo = kit + roo
Substitute values for kit and too
roo = 25 + 10
roo = 35
On line 5: Output roo
So, 35 is displayed as an output
Answer:
Hi!
The correct answer is B.
Explanation:
This sentence SELECT * FROM customers JOIN orders ON (customer#) selects all the columns of both customers and orders and joins by the name of the column customer.
A and B options have syntactic problems:
- A and C: Same alias name for multiple tables.
- A and C: Selected columns are ambiguous.
- C: refers to an alias not declared on the FROM sentence.
a) SELECT c.customer#, order#, orderdate, shipdate(omits aliases) FROM customers c NATURAL JOIN orders c(same aliases definiton);
c) SELECT c.customer#, order#, orderdate, shipdate(omits aliases) FROM customers c, orders c(same aliases definiton) WHERE c.customer# = o.customer#(o not declared);
Answer:
Structural unemployment is the correct answer.
Explanation:
Because there is a large amount of the semi-skilled labors or workers in the industries and they find ourselves out of work because of the new technologies that execute their jobs by which those workers become obsolete. So, that's why these workers face the experience of structural unemployment which creates a higher rate of natural unemployment.