A computer is a device that accepts information (in the form of digitalizeddata) and manipulates it for some result based on a program, software, or sequence of instructions on how the data is to be processed.
Complex computers include the means for storing data (including the program, which is also a form of data) for some necessary duration.