i need pseudo code and flowchart of the following program
#include"structures.h">void swap(int* a, int* b){ //basic swap functions for two integersint hold = *a;*a = *b;*b = hold;}void bubbleSort(int* arr, long* dists, int num){ //bubbleSort function for sorting the list obtained by 'dist' fileint x, y;for(x = 0; x < num="" -="" 1;="">for(y = 0; y < num="" -="" x="" -="" 1;="">if(dists[arr[y] > dists[arr[y+1]]]){swap(&arr[y], &arr[y+1]);}}}}
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here