CBSE BOARD XII, asked by VarshameghaAR, 10 months ago

write a java function that accepts 2 numbers as parameters and returns the greater one.

Answers

Answered by ayush9056
0

Answer:

int accept(int a ,intb) { if(a>b) return a; else if(b>a) return b; return 0;

Similar questions