Trinity S³AI

Vibecoding 2: a program is steps in order

The same two steps, add 3 and double, in two orders give two answers, and a loop repeats one step. Lesson 2 of the vibecoding course.

A loop: add 3, four times

  1. start: 2
  2. after 1 step: 5
  3. after 2 steps: 8
  4. after 3 steps: 11
  5. after 4 steps: 14
Two steps, two orders, start at 2
OrderResult
add 3, then double10
double, then add 37

Swap two steps and the answer changes; the loop is one step written once.