Question: in java, use notepad++ , or eclipse as programming tool Consider the following 10X 10 grid: 2 4 5 6 1 8 94 5 3
in java, use notepad++ , or eclipse as programming tool 
Consider the following 10X 10 grid: 2 4 5 6 1 8 94 5 3 5 7 910 3 25 6 7 6 4 4 5 10 8 5 6 7 8 4 7 7 93 27 14 9 0 5 6 8 8 8 77 5 5 7 8 8 3 7 8 44 4 6 3 10 8 16 737 8 25 9 2 4 8 3 8 2 46 7 10 4 4 3 6 814 37 3 4 The upper left hand comer is (1, 1). The upper right is (10, 1) and the lower right is (10, 10) The input is four sets of two non-adjacent comers of a rectangle, in no paricular order. Ihe output is the sum of the numbers within the defined rectangle. SAMPLE INPUT 2 2 3 3 1 10 4 10 6 6 4 8 10 10 10 8 SAMPLE OUTPUT 20 21 47 10 TEST INPUT 1 10 3 8 6 675 65 7 6 1 3 3 1 TEST OUTPUT 62 18 18 40
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
