Info

This question is closed. Reopen it to edit or answer.

Write an algorithm in the program

5 views (last 30 days)
Artur Ivanov
Artur Ivanov on 29 Oct 2020
Closed: John D'Errico on 29 Oct 2020
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

Answers (0)

This question is closed.

Tags

Community Treasure Hunt

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

Start Hunting!