Step 1 / 7A 5×5 matrix with float values. We will scan row by row to find the maximum.
Step 2 / 7Scanning row 0: values are 0.2,0.5,0.1,0.8,0.3. Current max is 0.8 at cell (0,3).
Step 3 / 7Scanning row 1: values are 0.6,0.4,0.9,0.2,0.7. New max is 0.9 at cell (1,2).
Step 4 / 7Scanning row 2: values are 0.1,0.3,0.5,0.4,0.6. Max remains 0.9 at (1,2).
Step 5 / 7Scanning row 3: values are 0.7,0.2,0.4,0.1,0.8. Max remains 0.9 at (1,2).
Step 6 / 7Scanning row 4: values are 0.3,0.6,0.5,0.7,0.4. Max remains 0.9 at (1,2).
Step 7 / 7Scan complete. The maximum value 0.9 is at cell (1,2). Marked as good.