0

# What is solutione this program?

Treasure Island This is a computer game where a treasure is hidden in an island and you need to find it. The island is a grid of 10x10 blocks of rows and columns and the treasure is under one of them. Initially the computer will set the treasure location at a random row and column position. Your initial location is row 5 and column 5. Each time you can move Up, Down, Right or Left with a certian number of blocks. The computer will calculate and print the distance between you and the treasure using the for

3 Answers

+ 19

Is this an assignment/task?
At least specify language it must be done in.
Btw, solution is pretty simple...

0

the language is c++

0

this is assignment