Theoretically speaking, an entire program that does something is a function right? At least the programs I have written so far, that are very small...
Like a program I wrote that allows a user to enter a series of numbers, then the program will display the largest number. Is a program like this basically a function?
If so, could I then use this "program" as a function and insert it into another program to accomplish this task?
If this is the case, then I could make one "larger" program by combining several of my smaller "programs" or "functions" into one?? ??
Like a program I wrote that allows a user to enter a series of numbers, then the program will display the largest number. Is a program like this basically a function?
If so, could I then use this "program" as a function and insert it into another program to accomplish this task?
If this is the case, then I could make one "larger" program by combining several of my smaller "programs" or "functions" into one?? ??