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?
Answers
Answered by
0
Answer:
Non negetive integer
N=6
N=5
N=6
Explanation:
1.To follow the laws and regulations of the country. 2.To pay all taxes honestly regularly and in time. 3.To avoid corrupting public servants. 4.To make proper use of scarce resources of the nation. 5.To assist in solving the national problems like poverty, unemployment, and balanced regional growth etc. 6.To avoid Monopoly and concentration of economic power
Similar questions