g first, your program needs to know the size of the field. it will always be a rectangle, but the number of rows and columns can vary.first, your program reads a line of input specifying the number of rows in the field. you can assume this will be no less than 4.next, your program reads a line of input specifying the number of columns in the field. you can assume this will be no less than 3.