Track PHP
PHP track

Grains

An exercise from the PHP track
easy

About this exercise

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

algorithms
floating point numbers
View all solutions