Skip to content

Instantly share code, notes, and snippets.

@raarce
Last active December 21, 2015 04:19
Show Gist options
  • Save raarce/6249032 to your computer and use it in GitHub Desktop.
Save raarce/6249032 to your computer and use it in GitHub Desktop.
client for array of fractions
#include <iostream>
#include "fracArray.h"
int main() {
ArrayOfFractions L;
cout << "Contenido de L:" << endl;
L.print();
cout << "Maximo, minimo y suma de elementos en L" << endl;
L.max().print();
L.min().print();
L.sum().print();
L.sortAscending();
cout << "Contenido de L, luego de ordenado" << endl;
L.print();
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment