Answer:
90.
Step-by-step explanation:
We have two lines of code:
y ← x + x + x + x + x
z ← y + y + y
and, x=6 before the execution. Then, when the program starts to run we obtain:
y ← 6 + 6 + 6 + 6 + 6
y ← 30
z ← 30+30+30
z ← 90.
Then, the value of z after excecution is 90.
Answer:
The first 3 terms of the sequence are:
Step-by-step explanation:
Given the sequence
Here represents any term number in the sequence
Determining the first term
substitute n = 1 in the sequence to determine the first term
Determining the 2nd term
substitute n = 2 in the sequence to determine the 2nd term
Determining the 3rd term
substitute n = 3 in the sequence to determine the 3rd term
Therefore, the first 3 terms of the sequence are:
4.1.....the 4 in the ones place is 10 times bigger then the 4 in the tenths place and 100 times bigger then the 4 in the hundredths place and 1000 times bigger then the 4 in the thousandths place
2.4..the 4 in the tenths place is 10 timed bigger then the 4 in the hundredths place and 100 times bigger then the 4 in the thousandths place
3.14...the 4 in the hundredths place is 10 times bigger then the 4 in the thousandths place
5.124...this 4 in the thousandths place is the smallest