A-B A+B This adds two numbers from each line and prints out the addition of two numbers to the console Pretty Simple but this provides a basic insight of reading from a file.