This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cs50.h> | |
#include <stdio.h> | |
// function prototypes | |
void bubble_sort(int arr[], int size); | |
void print_array(int arr[], int size); | |
// size of array | |
#define SIZE 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cs50.h> | |
#include <stdio.h> | |
// function prototypes | |
void selection_sort(int arr[], int size); | |
void print_array(int arr[], int size); | |
// size of array | |
#define SIZE 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cs50.h> | |
#include <stdio.h> | |
// function prototypes | |
void insertion_sort(int arr[], int n); | |
void print_array(int arr[], int n); | |
// size of array | |
#define SIZE 10 |
OlderNewer