While certainly possible, this is not a practical method of recording such data. Suppose the program needed to record 100 scores? 100 variables would be required!
// https://www.geeksforgeeks.org/problems/type-of-array4605/1?page=1&company=Amazon&sortBy=difficulty // You are given an array arr[] having unique elements. Your ...