Write an algorithm in the program

You need to write an algorithm in the program, help me, I don't understand
Start
Step 1: the variable a is assigned an initial value of 2
Step 2: the variable b is assigned an initial value of 3
Step 3: assign the value of expression a + b to variable C
Step 4: output the value of the variable a
Step 5: assign the value of b to a
Step 6: assign the value of c to b
Step 7: If C is less than 100 + N, return to step 3.
the end

Réponses (0)

Cette question est clôturée.

Tags

Clôturé :

le 29 Oct 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by