Bubble Sort
Problem Write a program that sorts in ascending order when N numbers are input and outputs them. The sorting method is bubble sort. input The first line is given a natural number N (1<=N<=100) In the second line, N natural numbers are entered with a space between them. Each natural number is in the…