Question: Develop an algorithm, in the form of a Raptor flowchart, to display the sequence of numbers from 1 to M, such that each number in

Develop an algorithm, in the form of a Raptor flowchart, to display the sequence of numbers from 1 to M, such that each number in the sequence is equal to the product of its two immediate predecessors. The first two numbers in the sequence are 1 and 2 respectively. The user input M to the algorithm is assumed to be an integer greater than or equal to 8. The expected output of the algorithm is given below for example values of the input M. Note that M may not always be part of the sequence. M = 5 Output: 1, 2, 2,4 > M = 8 Output: 1, 2, 2, 4, 8 M = 10 Output: 1, 2, 2, 4, 8 M = 47 Output: 1, 2, 2, 4, 8, 32 Note: The submission must be the executable Raptor file of your flowchart solution. Any other forms of submissions will be marked as zero
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
