This program takes 10 numbers as input from the user, stores them in an array, then sorts the array in ascending order using nested loops (Bubble Sort), and fi…