Answers to Problems

Answers to Problems - ..can't stop when you find one. #8 n...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
#1 #2
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
#3. Could do this without and (use two decisions)
Background image of page 2
#4 #5
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
#6
Background image of page 4
#7 Need has2or3 variable because the loop has to execute n times.
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 6
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 8
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ..can't stop when you find one. #8 n mod fact gives remainder when n is divided by fact #9 #10...
View Full Document

Page1 / 8

Answers to Problems - ..can't stop when you find one. #8 n...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online