bash while loop n times

#include <stdio.h>

int main() {
    int n = 10;
    int i = 0;

    while (i < n) {
        printf("Iteration %d\n", i);
        i++;
    }

    return 0;
}