سلام يا شباااااب
هذا كويز حنختبر فيه بعد ساعة من الان وأتمنى تساعدوني في الحل الله يوفقكم
Write a Java program that includes
two methods called validate. The first method tests whether an integer number
n
is in a specific range [a,b] and the second method tests whether a double number n is in a specific range [a,b]. If n
in
[a,b], validate method returns 1, otherwise it returns ‐1.
Your main program should read a number from the user and use the validate method to check if the number in the
range [‐10,10].
تكفووون اللي فاهم يساعدني في حله ..