Need help with engineering assignment to compose computer algorithms the same do
ID: 3789978 • Letter: N
Question
Need help with engineering assignment to compose computer algorithms the same document, Le. they should not be in two separate files. 20 Points construct a computer algorithm to sum all even numbers from 10 through 200, 200 x E 2 4 6 8 200 x 2,46, 2. 20 Points) Construct a computer algorithm to sum multiples of 5 from 100 through 1000, 1000 n 100 105 t 110 1000 n 100,105,110,... 3. 25 Points) Construct a computer algorithm to calculate the product of integers from 1 through 20, ie. 1 x 2x3 x x 20 4. G5 Points) The value of for IxlExplanation / Answer
[1]
Step 1 : start
Step 2 : sum =0 , N =10
Step 3 : N=N+1
Step 4 : if N%2 == 0 then go to step 5
Step 5 : sum = sum + N
Step 6 : if N < 200 then go to step 3
Step 7 : display sum
Step 8 : stop
[2]
Step 1 : start
Step 2 : sum =0 , N =100
Step 3 : N=N+5
Step 4 : sum = sum + N
Step 5 : if N < 1000 then go to step 3
Step 6 : display sum
Step 7 : stop
[3]
Step 1 : start
Step 2 : sum =1 , N =1
Step 3 : N=N+1
Step 4 : sum = sum * N
Step 5 : if N < 20 then go to step 3
Step 6 : display sum
Step 7 : stop
[4]
Step 1 : start
Step 2 : sum =1 , N =0 ,x = 2
Step 3 : N=N+1
Step 4 : i = 0
Step 5 : sum = sum + x
Step 6 : i = i+1
Step 7 : if i < N then go to Step 5
Step 8 : if N < 4 then go to step 3
Step 9 : display sum
Step 10 : stop