Track Lua
Lua track

Grains

An exercise from the Lua track
easy

About this exercise

Calculate the number of grains of wheat on a chessboard given that the number on each square doubles.

control flow loops
View all solutions