Question: now answer java Question 1 response Write a recusive method, called sequencel), which prints a sequence of berseys parameter to the method. Then, the next
Question 1 response Write a recusive method, called sequencel), which prints a sequence of berseys parameter to the method. Then, the next elements of the sources (-1/2) +11 The sequence ends with 1 void sequence(int n) { > Example: sequence (20) will print 20 10 5 16 8 4 2 1 sequence(3) will print: 3 10 5 16 8 4 2 1 For the toolbar, press ALT+F10 (PC) or ALT=PNF10 (Mac), MacBook Air WEMO Will save this response. Question 1 Write a recusive method, called sequence(), which prints a sequence of numbers, separated by a white pas, starting from the number wichs von se parameter to the method. Then, the next element in of the sequence is (64-2/2) in seven, otherwis - 1) The sequence ends with 1. vold sequence(int n) ) Example: sequence(20) will print: 20 10 5 16 8 4 2 1 sequence(3) will print: 3 10 5 16 8 4 2 1 ARTANDOVI
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
