reset password
Author Message
rmoussa
Posts: 10
Posted 18:30 Jan 26, 2018 |

so do we create the original array in the main method and then pass it to the input method or do we create it in the input method? 

Also, the main method should only call the other methods or there is something else to put in it?

 

jhurley
Posts: 207
Posted 19:27 Jan 26, 2018 |

create it in the input method

You could probably design this so that main() doesn't do anything but call the other methods.  It should certainly do very little other than call them.