-- 剰余・累乗 cubed_residue.lua
while not Keys.newPress.Start do
Controls.read()
startDrawing()
screen.print(SCREEN_UP, 0, 0, "Press START to quit")
screen.print(SCREEN_DOWN, 0, 0* 8, "5 % 2 =")
screen.print(SCREEN_DOWN, 0, 1 * 8, 5 % 2)
screen.print(SCREEN_DOWN, 0, 3 * 8, "2 ^ 3 =")
screen.print(SCREEN_DOWN, 0, 4 * 8, 2 ^ 3)
stopDrawing()
end