Computer Science, asked by raziatariq89, 9 months ago

The numbers in the table below are the result of executing an algorithm that has one parameter N, a non-negative integer, and produces sequences of integers as outputs. For values of N from 0 to 5, the algorithm produces the following sequences of numbers as outputs.

Determine the algorithm that was used to generate the numbers in this table, and
• Write it down.
• Execute it for N = 6 and write down your result.
• Give your description of the algorithm to a friend who is not a programmer and ask him or her to execute it for N = 6.
What is the sequence of numbers for N = 6? (Give your answer as integers separated by single spaces.)

Answers

Answered by devsaini115
7

Answer:

I don't know vghkjbv gggggff hygfddhuh sexdeyhbddd

Answered by vanithachinnap
25

Answer:

0,2,4,6,8,10,6,7,8,9,10,11

Explanation:

for n=6

ad +2 for 5 numbers then -4 and add +1 for 5 numbers

Similar questions