Advertisement
Guest User

Untitled

a guest
Mar 18th, 2019
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. Take the variables l and h
  2. Increment by 1 from l through h
  3. check to see if the integer has at least one 6 or 8 in it
  4. If it has at least one 6 or 8, but not both, add 1 to a return value
  5. If it has a 6 AND an 8, go to the next number.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement