i want to write a program to do this it will take input n and index n is the size of table in this example it is equal to 6 and index like 11 so the output must be 3,5 if index = 9 the output is 2,6
help in this problem
i want to write a program to do this it will take input n and index n is the size of table in this example it is equal to 6 and index like 11 so the output must be 3,5 if index = 9 the output is 2,6