#Dyalog APL 16.0, 17 bytes
Prompts for column, row, character. Gives INDEX ERROR on faulty input.
⍞@(⊂(6-⎕)⎕)⊢5 5⍴0
⍞@(⊂...) replace with inputted character at position
(6-⎕)⎕ [row] 6 – input, [column] input
⊢ of
5 5⍴0 ×ばつ5 grid of zeros
Adám
- 31.8k
- 4
- 131
- 292