2014'den beri9 mesaj
Arkadaşlar 1 sorum var ödev için yardımcı olabilirseniz çok sevinirim.
Soru İngilizce tam doğru Türkçeye çeviremediğim için ingilizcesini yazcam.
Write a drawTable method takes two integers (tableSize, squareNumber) and an array (tileFill) as input. This method will create a table formed by squares. You will place a filled square if array has 1 at that index, an empty square otherwise.
Soru budur resimde de örnek ekledim bu şekli çıkarmak için kod lazım. Rastgele 1 veya 0 atayacak program biz karenin genişliğini ve kutu sayısını vercez. 1 ise için boyayacak 2 ise boş bırakacak kutunun içini.
http://imgim.com/2015-05-10_145203.png
Soru İngilizce tam doğru Türkçeye çeviremediğim için ingilizcesini yazcam.
Write a drawTable method takes two integers (tableSize, squareNumber) and an array (tileFill) as input. This method will create a table formed by squares. You will place a filled square if array has 1 at that index, an empty square otherwise.
Soru budur resimde de örnek ekledim bu şekli çıkarmak için kod lazım. Rastgele 1 veya 0 atayacak program biz karenin genişliğini ve kutu sayısını vercez. 1 ise için boyayacak 2 ise boş bırakacak kutunun içini.
http://imgim.com/2015-05-10_145203.png