Trace Table

Please download to get full document.

View again

of 2
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Information Report
Category:

Documents

Published:

Views: 4 | Pages: 2

Extension: XLSX | Download: 0

Share
Related documents
Description
Trace table
Transcript
   Trace tableWhat's going onnAnswerInput xThe user make x = 201if x%n == 020print nThe answer is 20 print 20!increment n2return to for loopreturn to for loopif x%n == 010 o#e segment currentl$ executingfor n = 1  n&x  n = n1We make n = 1! heck to make sure if n&x! If so continue with in#ente# loop co#e! If not skip in#ente# loop co#eIf resi#ual of x(n = 0 then print n! If not return to the for loop! 20%1 = 0)ake n = n  1* n = 1  1* n = 2If resi#ual of x(n = 0 then print n! If not return to the for loop! 20%2 = 0
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks