
1.准备工作
(1)导入角色Cat Flying、Apple、Bananas;
(2)保留白色背景。
2.功能实现
- 点击绿旗,Cat Flying询问“请输入一个正整数,小猫会自动判断它是奇数还是偶数,
- 奇数显示苹果,偶数显示香蕉!”(此处考生可简写)。

- 输入数字,如果是奇数,说“它是奇数”2秒后,苹果显示出来;如果是偶数,
- 说“它是偶数”2秒后,香蕉显示出来。




(3)重复询问输入整数,进行判断。
参考程序:
「a. 角色:Cat Flying」
「b. 角色:Apple」

「c. 角色:Bananas」
