282,236 views
10 votes
10 votes
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

User Toyota
by
2.4k points

1 Answer

8 votes
8 votes

Answer:

statement. int [] data= {7, -1, 13, 24,6};

Step-by-step explanation:

User Tiswas
by
2.5k points