Ask your own question, for FREE!
Computer Science 18 Online
OpenStudy (anonymous):

ex2. Create an “int” function, that gets one integer number as a parameter. The function returns 1 if the number is greater than 10 and 0 in the opposite case.

OpenStudy (anonymous):

public int numer(int n) { if (n>10) return 1; return 0; }

OpenStudy (anonymous):

@jiraya thanks

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!