draw a flowchart wich genrates frist 50 items of the fibonacci 1,2,3,.....?

x(1) = 1

x(2) = 2
do 1 for n = 3 to 50
1 x(n)= x(n-1)+x(n-2)
print or store the results
the end

wow! FORTRAN!! Haven't seen that for a while!!!

Well, not really :)

But I have boxes of it in the attic.

To draw a flowchart that generates the first 50 items of the Fibonacci sequence, we can break down the process into smaller steps. Here's a step-by-step guide on how to create the flowchart:

Step 1: Start
- Begin by drawing the shape for the start of the flowchart, typically represented by an oval or rounded rectangle.

Step 2: Initialize Variables
- Draw a rectangle to represent the step of initializing the variables.
- Inside the rectangle, add the necessary variables needed for generating the Fibonacci sequence. In this case, you'll need variables to store the current Fibonacci number, the previous number, and the one before that.
- Initialize the variables as follows:
- Set the current number to 1.
- Set the previous number to 0.
- Set the number before that to 0 as well.

Step 3: Loop
- Draw a diamond-shaped symbol to illustrate the loop.
- Inside the diamond, add the condition for the loop to continue. In this case, it will be based on the number of items generated (50 in total).
- Connect the loop back to the box representing initializing variables.

Step 4: Calculate Fibonacci
- Draw a rectangle to represent the calculation of the next Fibonacci number.
- Inside the rectangle, write the formula to calculate the next number:
- Add the previous number and the number before that.
- Assign the result to the current number variable.
- Connect the rectangle to the loop symbol.

Step 5: Output
- Draw a parallelogram shape to represent the output.
- Inside the parallelogram, write the command to display or store the current Fibonacci number.
- Connect the parallelogram back to the loop symbol.

Step 6: Update Variables
- Draw a rectangle to signify updating the variables.
- Inside the rectangle, assign the current number to the previous number variable.
- Assign the previous number to the number before that variable.
- Connect the rectangle back to the loop symbol.

Step 7: Loop End
- Draw a rounded rectangle shape to show the end of the loop.
- Connect the rounded rectangle to the loop symbol and add the word "End" inside it.

Step 8: Stop
- Add another oval or rounded rectangle shape to indicate the end of the flowchart.

Step 9: Connect the Shapes
- Use arrows to connect the shapes and represent the sequence of steps in the flowchart.
- Make sure the arrows follow the correct flow, moving from one shape to the next in the logical order.

Once you've completed these steps, you will have a flowchart that generates the first 50 items of the Fibonacci sequence. Remember to label each shape and specify the operations or conditions within each step.