We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 2
Source) History fa f- M- Q@eres. #3
45) [=] public stat
16
a7
18
19
20
21
35
) ere’
im ‘n(String[] args) (
boolean isDivisibie, exit = true;
ny
do {
| Eel ie ge acincentod aan Hy
n = scan.nextint();
if (n != 0) {
| isDivisible = ZsDivisible(n);
if (isDivisible) {
| system print1n("n is
println("n is not divisik Y
lean Ispivisible(int num) {
0) 4
@ lab6lar6 > @ IsDivisible >it (cum 0
Output x
»
»
a
i
lab6 (run) X —_lab6 (run) #7 x
Enter an integer or 0 to exit :
6
n is not divisible by 7
Enter an integer or 0 to exit
BUILD SUCCESSFUL (total time: \) s
lab(OTB): &-O- Pia G @
B labojava x BB calculator)
Source) History | Te (we Cage
2
2
as )
16
ou subtract (
@ iabb5.caicuiator > @ Muttiplation
Output x
DP tabs (eun) x —tabb5 (run) x
» a
od x
abo (und naming)