I added a script that returns the maximum number of a given array, created a module for it with the name max_number_array.
with a lib.cairo and max_number_array.cairo files, the lib.cairo serving as what exposes the max_number_array.cairo as a module and the max_number_array.cairo holding the function that finds the maximum number in any array that will be passed to the function as an argument.
Afterwards, scarb build was used to build the code and scarb cairo-run was used to run the code to make sure it's working as expected.
Closes #33
I added a script that returns the maximum number of a given array, created a module for it with the name
max_number_array
.with a lib.cairo and
max_number_array.cairo
files, thelib.cairo
serving as what exposes themax_number_array.cairo
as a module and themax_number_array.cairo
holding the function that finds the maximum number in any array that will be passed to the function as an argument.Afterwards,
scarb build
was used to build the code andscarb cairo-run
was used to run the code to make sure it's working as expected.