Q10- <Question 10> How many goals
did each score?
In 2023, Jeremy Lin, a well-known
basketball player, moved to the Kaohsiung Steelers and won eight consecutive
victories. In recent basketball games, he made many 2-pointers and 3-pointers, many tens. May I ask how many 2-pointers Jeremy Lin scored in each game? How many
3-pointers?
Please use Scratch to write a tool,
input two numbers to represent the number of goals and points in the field, and
then the robot will say the number of goals for 2-point goals and 3-point
goals. If the number entered is wrong, say WRONG.
Input format: Please enter the two numbers a b of
"Number of Goals" and "Score", separated by blank spaces.
Output format: Please print "2-point ball"
and "3-point ball", and there must be a blank space between the two
numbers; if it cannot be calculated, print "
WRONG ".
Input
example one: 5 10
Output
example one: 5 0
Input
example two: 6 15
Output
example two: 3 3
Input
example three: 6 6
Output
example three: WRONG