Computer Science, asked by surjyatapadas2, 4 months ago

What will be the maximum remainder if a number is divided by n?
Write in Qbasic

Answers

Answered by sangootiwari
0

Answer:

It is known that when an integer is divided by some other integer X, the remainder will always be less than X. So, the maximum mod value which can be obtained from the array will be when the divisor is the maximum element from the array and this value will be maximum when the dividend is the maximum among the remaining elements i.e. the second maximum element from the array which is the required answer

Similar questions