Skip to content

Instantly share code, notes, and snippets.

#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
#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
#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