I need to, after pressing the button, the values ​​are formed into a table inside the program.

Form of program

Here is the form of the program. Everything is ready, except for reading the values ​​of the array from the "In" field. I can not properly organize it. For example:

In= 1 2 9 4 6 5 4 2 3 2 8 7 9 8 7 6 

An array should form inside the program:

 a[0][0]=1, a[0][1]=2, a[0][3]=9, ... , a[3][2]=7, a[3][3]=6. 
  • Try to write more detailed questions. Explain exactly what you see the problem, how to reproduce it, what you want to get as a result, etc. - Nicolas Chabanovsky
  • So you need to convert the text you gave as an example ( In= ) into an array of numbers? And what exactly is causing you difficulty? Determining the number of rows and columns? Splitting a string into separate values? Convert a character to a number? Or something else? - Dmi7ry
  • Determining the number of rows and columns and splitting a row into separate values. - Birdie

0