Pens until Hawaii?
Computer Science Level 1Matt is a shop owner who sells pens and paper. He has been working hard and wants to go on vacation. He needs to earn 362 dollars to afford a plane ticket to Hawaii. He earns 2 dollars for each pen he sells.
Matt wrote a function to find out how many pens he must sell before he can purchase the plane ticket. However, in order to make his code correct, he must replace the word TURQUOISE with an integer.
Which integer should he replace the word TURQUOISE with?
1 2 3 4 5 6 7 8 

Your answer seems reasonable.
Find out if you're right!
Sign up to access problem solutions.
That seems reasonable.
Find out if you're right!
Already have an account? Log in here.