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

7th Apr 2017, 8:31 PM
Ayoub Ha
Ayoub Ha - avatar
3 ответов
+ 19
Is this an assignment/task? At least specify language it must be done in. Btw, solution is pretty simple...
7th Apr 2017, 9:41 PM
Illusive Man
Illusive Man - avatar
0
the language is c++
15th Apr 2017, 10:25 AM
Ayoub Ha
Ayoub Ha - avatar
0
this is assignment
15th Apr 2017, 10:26 AM
Ayoub Ha
Ayoub Ha - avatar