0
How to display rows and colums in c++
need to use these rows and colum to reserve seats
3 ответов
0
You mean to display in console, like here in course? Yeah, you would write the rows of numbers into cycle, like
1 2 3 4 5 6 7 8 9 10 11
11 12 13 14 15 etc
separated with tabs..And you can use some sign (example X) to separate free and selled seats. Or use conio library to use diffrent colors to separate it.
0
the rows are numbered A: to E: , the colums are 1 to 9, i will later need to write functions to reserve seats in rows..
0
how do you declare char and int in an array?