#include<iostream> using namespace std; // void mergesort(int arr[]) int main(){ int arr[8] = {6,4,7,2,9,8,3,5}; // mergesort(arr,0,8); for(int i=0;i<8;i++){ cout<<arr[i]<<" "; } return 0; }
! 6 shirt = 15 sock ! 47 underwear = 9 pant ? sock = shirt ? shirt = pant ! 2 sock = 1 underwear ? pant = shirt .