Skip to content

Instantly share code, notes, and snippets.

View aggrolite's full-sized avatar
:shipit:
coding!

Curtis Brandt aggrolite

:shipit:
coding!
View GitHub Profile
sub power {
my ( $base, $exponent ) = @_;
my $result = 1;
for ( my $i = 0 ; $i < $exponent ; $i++ ) {
$result = $result * $base;
}
return $result;
}
#include <stdio.h>
#include "sort.h"
#define SIZE 10 //size of the array we're dealing with
//function to scramble the array after we've sorted it
void Rearrange(int *ptr)
{
}