1. Write the output of these code block without running
(4) class TestChoose { public static void main(String args[]) { int n=2; while (n<=10) { boolean flag-true; int kl=2; while (kl<=n/2+1) { if (n%k1==0) { flag-false; break; } kl++; } if (flag) { } n++; System.out.println(n+" "); 第2页
1. Write the output of these code block without running (4) class TestChoose { public static void main(String args[]) {
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
1. Write the output of these code block without running (4) class TestChoose { public static void main(String args[]) {
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!