My code won\'t read the 10th row when i\'m typing 10 and also how can i exit my program when i input negative number?
here is the error.
Enter row and