Skip to content

Instantly share code, notes, and snippets.

View artulloss's full-sized avatar

Adam Tulloss artulloss

View GitHub Profile
@artulloss
artulloss / Factoral
Last active December 18, 2018 15:11
A c++ factorial script I wrote in like 5 minutes
#include <iostream>
#include <string>
unsigned long factoral(const unsigned long i) {
if(i == 1)
return 1;
return i * factoral(i - 1);
@artulloss
artulloss / maths.cpp
Last active October 10, 2018 01:32
My first C++ project!
/* Adam
10-3-18
Basic Math
Does some maths! */
#include <iostream>
#include <string>
#include <algorithm>
#include <math.h>