80.4k views
0 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 Aelexe
by
5.2k points

1 Answer

10 votes

Answer:

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

Step-by-step explanation:

User Psychoacoustic
by
5.1k points