个人记录冒泡排序#include<bits/stdc++.h> using namespace std; int main() { int arr[] = {64,34,25,12,22,11,90}; int n = sizeof(arr) / sizeof(arr[0]); for (int…