- 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"); } }

14th Nov 2016, 7:22 PM
anjanel macalaguim
12 Antworten
+ 11
from the top. int, try, /, catch
14th Nov 2016, 8:04 PM
Jakub Stasiak
Jakub Stasiak - avatar
+ 2
THANK YOUUUUUUUUUU :*
15th Nov 2016, 12:05 PM
anjanel macalaguim
+ 2
void myFunc(int a,int b) { try { System.out.println(a/b); } catch (Exception e) { System.out.println("Error"); } }
23rd Dec 2018, 2:23 PM
Likhon
Likhon - avatar
+ 1
int, try, /, catch
13th Dec 2021, 5:14 AM
W M S Niruththara
0
thanks
16th Nov 2016, 4:29 PM
Djouhri Riad
Djouhri Riad - avatar
0
int try / catch
1st Jan 2022, 12:34 PM
M.I.M.Aqueel
M.I.M.Aqueel - avatar
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
24th Feb 2023, 5:59 AM
Jembere Guta
Jembere Guta - avatar
- 1
thanks
28th Mar 2017, 10:15 AM
Ramesh Manivannan
Ramesh Manivannan - avatar
- 1
int try / catch
2nd May 2018, 4:44 AM
Sangeetha
Sangeetha - avatar
- 1
int try / catch
10th Jan 2020, 1:00 PM
Nithya sree.M
- 1
int, try, /, catch
1st Aug 2020, 10:47 AM
Silas Silikhe
- 2
inh
30th Dec 2019, 11:03 PM
Arjun Singhal
Arjun Singhal - avatar