Question: please solve 3 and 4 I input: positive undeger x 2. i+0 3. repeat 3.i. 1+1+1 3.2. If x is odd then 3.21x+(3xx)+1 else 3:2:2x+x+2

please solve 3 and 4
please solve 3 and 4 I input: positive undeger x 2. i+0

I input: positive undeger x 2. i+0 3. repeat 3.i. 1+1+1 3.2. If x is odd then 3.21x+(3xx)+1 else 3:2:2x+x+2 netil x=1 4. entpet i QUESTION 4 Trace the dogittm and determine the output in step 5 toe me tolowing irput n=6 : 1. Input: a pesitive integer n 2. finc + n m 3. mbile n>1 ded. 3. 1. 1+n1 3.2. fact-fer xn 4. m+far+n 5. axpet m

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!