432
Комментарий:
|
← Версия 5 от 2019-12-08 12:00:54 ⇥
495
other task!
|
Удаления помечены так. | Добавления помечены так. |
Строка 1: | Строка 1: |
## page was renamed from HSE/ArchitectureASM/Homework_CrtDraw |
Wrirte a program that inputs ordinals M an N, and outputs MxN grid made with «+» and «-». You should write a macro that accepts three parameters: a number of cells and two characters, and outputs a line like this:
printline 4, '+', '-'
- →
+-+-+-+-+
3 4
+-+-+-+ | | | | +-+-+-+ | | | | +-+-+-+ | | | | +-+-+-+ | | | | +-+-+-+