#include <stdio.h>
int main() {
int arr[6] = {88,45,92,33,67,51};
for (int i = 1; i < 6; i++) {
int key = arr[i];
int j = i - 1;
while (j >= 0 && key < arr[j]) {
arr[j+1] = arr[j];
j--;
}
arr[j+1] = key;
}
for (int i;i < 6;i++) {
printf("%d ",arr[i]);
}
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: