- 4
Fill in the blanks to declare a function that takes two integers as arguments and prints their division.
void myFunc(int a, __b) int { { System.out.println(a__b); } _____(Exception e) { System.out.println("Error"); } }
12 RĂ©ponses
+ 11
from the top.
int,
try,
/,
catch
+ 2
THANK YOUUUUUUUUUU :*
+ 2
void myFunc(int a,int b) {
try {
System.out.println(a/b);
}
catch (Exception e) {
System.out.println("Error");
}
}
+ 1
int,
try,
/,
catch
0
thanks
0
int
try
/
catch
0
Fill in the blanks to declare a function taking two integer arguments and returning a float value.
___my_func(int a, ___ b);
Answ. float and int
- 1
thanks
- 1
int
try
/
catch
- 1
int
try
/
catch
- 1
int,
try,
/,
catch
- 2
inh