Discover answers to your most pressing questions at Westonci.ca, the ultimate Q&A platform that connects you with expert solutions. Our platform offers a seamless experience for finding reliable answers from a network of experienced professionals. Our platform offers a seamless experience for finding reliable answers from a network of knowledgeable professionals.

Write a function to take three integers x, y and n and check if x and y are both fall between 0 to n-1. If yes, your function should return 1, otherwise return 0. In your main function, ask the user to enter the value for x, y and n and tell the result to the user