Assignment: Write a program that prompts for a number and determines if it appears at the beginning (and therefore also the end) of a line of numbers, or in the middle? If in the middle, is the number in a line where the numbers appear left to right in a row, right to left in a row, down in a column, or up in a column? |