for i = 2 to 100 step 2 show i
for i = 2 to 100
if i%2=1
print i
end if
next i
The difference is an even number.
when you have an even amount of numbers while trying to find the median, you first find the two numbers that are at the median and then take all the numbers between them and find the median of that. if that amount of digits is also even, then you must have a decimal median.
write an algo to find the sum of even number from 1to n
The product of two consecutive even integers is 840.find these numbers
No, because it is 4.25 that is half way between them. To find the halfway point (the average), add the two numbers and divide by 2. 0.75 is not even between the two numbers.
The answer is an odd number.
One can find information about Pseudocode online in various websites. Some of them include the following: Wikipedia, Stack Overflow or Stack Exchange.
The difference is an even number.
when you have an even amount of numbers while trying to find the median, you first find the two numbers that are at the median and then take all the numbers between them and find the median of that. if that amount of digits is also even, then you must have a decimal median.
Yes
write an algo to find the sum of even number from 1to n
The product of two consecutive even integers is 840.find these numbers
Find the average. That is, add all of the even numbers together, then divide that by the number of even numbers.
No, because it is 4.25 that is half way between them. To find the halfway point (the average), add the two numbers and divide by 2. 0.75 is not even between the two numbers.
Pseudo code+factorial
If you mean two consecutive even whole numbers then they are 140 and 142
Add the two numbers and divide by two, or find the number which is halfway between the two numbers.