The pseudocode to find the sum of all integers that are multiples of 9, from 1 to 250.
totalSum = 0
for i from 1 to 250{
if i is divided by 9 and remainder is 0{
totalSum = totalSum + i;
}
}
print(totalSum)
in python language the code will be
totalSum = 0
for i in range(1,250):
if i%9==0:
totalSum += i
If you will run the program , the answer would be 3402.
Answer:
N=5 key task decision start and end
Explanation:
Answer: a. intrapersonal and short-term goals
Explanation:
Intrapersonal goals are those that we set for ourselves in our minds to accomplish. The students that are finishing their homework after school most probably set that goal in their minds and so meeting it would mean meeting their intrapersonal goals.
Homework is not a long term project but rather a short one that is usually meant to be completed within days. Completing it is therefore a short term goal.
The students who finish their homework after school are therefore accomplishing both their intrapersonal and short-term goals.
Cooper should have paid more attention on verifying the source of the article before posting it. Without verifying the article, there are chances that your friends within your social media community will criticize you for posting something from a fiction-writing site. Assuming that Cooper's purpose in posting or sharing it online was to be informative, then he'll have to verify the the article if it's true or not.
Answer:
Number of feet in a mile
Explanation:
In this problem, we need to find an option that to be created as a constant variable.
In option (a) "number of feet in a mile".
As 1 mile = 5280 foot
The number of feet in a mile is constant in every condition.
In option (b), (c) and (d)
number of people inside a store
, current grade in a class
, score in a football game are no fixed. It is not created as a constant variable.
Hence, the correct option is (a).