Find the output: [3] int n=10; while(n!=1) { if(n%2==0) n=n/2; else n=(3*n)+1; System.out.println(n); }
Answers
Answered by
1
Answer:
5
Explanation:
while condition and if condition true that's why i thik
Similar questions
Math,
6 days ago
Social Sciences,
13 days ago
Math,
13 days ago
History,
7 months ago
Accountancy,
7 months ago
Math,
7 months ago