program sorting/bead_sort.cpp is producing wrong output
Description
change the input array from the main() to modify the input
suppose this array
int a[] = {-10, 78, -1, -6, 7, 4, 94, 5, 99, 0};
after changing this now run the program you will get this output
Expected Behavior
Expected the correct sorted array
Actual Behavior
getting the worngly sorted array