Hi There!
I am dealing with two dimensional arrays. I am trying to make a table for Number of seats won By different parties in different provinces.
But the issue is I want to input the entries in the table directly using "cin statement" but it's not happening correctly.(Since each entry appears in the next row). Please Help!
My code is follows:
What makes you think it's not happening correctly?
Your cin statement at line 24 appears that it will read in 12 entries into your table.
Having you tried printing out the table after inputting it?
PLEASE USE CODE TAGS (the <> formatting button) when posting code.
It makes it easier to read your code and also easier to respond to your post. http://www.cplusplus.com/articles/jEywvCM9/
Hint: You can edit your post, highlight your code and press the <> formatting button.