Advanced Programming Questions
Advanced Programming Questions
9. Cumulative Product:
Take numbers as input until the user types `0`. Calculate the cumulative product of all non-
zero numbers entered. Print the result.
10. Two-Dimensional Array Manipulation:
You have a 2D array `Scores` with 500 rows and 20 columns. For every row:
- Find the highest value.
- Replace it with the string `"Max"`.
Print the updated array and the row-wise indices of the replaced values.