Last active
December 21, 2015 04:19
-
-
Save raarce/6249032 to your computer and use it in GitHub Desktop.
client for array of fractions
This file contains hidden or 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 <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