Hello, CS 201! I will write some updates later on before Saturday
Review of Quiz
What does this psudocode print? --- num = 10 while num > 1 if num is even num = num / 2 else num = 3 * num + 1 print num --- Answer: 1 --- Note: I made a mistake about the question!
Evaluate the given pseudocode to calculate the payment (pmt) with the following test values: The total number of hours worked (working_hours) = 60 The rate paid for hourly work (rate) = 12 input working_hours input rate pmt = working_hours * rate if working_hours > 40 then extra_hours = working_hours Ã¢ÂÂ 40 extra_pmt = extra_hours * rate pmt = pmt + extra_pmt end of if output pmt What is the final output?