1, click the "read data" button, then the folder lx8. Dat file is read in integer array, a 1 Text displayed in the Text box at the same time;
2, click on the "group" button, will all the multiples of 3 a of the array elements in the array b, and the smallest of the elements in the array b after the show, in the text box Text2
Practice 2: create the corresponding controls according to the pictures in the form, will lx9. TXT read the contents of an array (7, 7), a statistics of the sum of 7 * 7 around the array elements in and around the elements can be divisible by the number of elements, click the calculate button controls, the results suggest that in the corresponding tag,
CodePudding user response:
With the file openThe get
The close
Under your Google
TXT can use input instead of a get