Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Take the variables l and h
- Increment by 1 from l through h
- check to see if the integer has at least one 6 or 8 in it
- If it has at least one 6 or 8, but not both, add 1 to a return value
- If it has a 6 AND an 8, go to the next number.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement