perulangan c++
#include <iostream>
int main() {
// Step 1: Initialize loop control variable
int i = 1;
// Step 2: Start of the loop (entry point)
while (i <= 5) {
// Step 3: Loop body - code to be executed in each iteration
std::cout << "Iteration " << i << std::endl;
// Step 4: Update loop control variable
i++;
// Step 5: End of the loop (return to the entry point if the condition is true)
}
// Step 6: End of the program
return 0;
}