1

Topic: VB6 The task on two-dimensional arrays. The help is necessary!

The people,  . Before generally in programming was not engaged and here there was a problem.
The two-dimensional array by dimensionality N x M elements is given.
To Define an amount of the elements, which values more than the given number F.
If help to solve, I will be very grateful.
P.S. I will be glad, if the code write completely, instead of its part.
P.P.S. An array

2

Re: VB6 The task on two-dimensional arrays. The help is necessary!

And generally it would be desirable to understand how correctly to make two-dimensional arrays

3

Re: VB6 The task on two-dimensional arrays. The help is necessary!

the Manual for students and schoolboys

4

Re: VB6 The task on two-dimensional arrays. The help is necessary!

Constant whole ShirinaMassiva = 100;
Constant whole VysotaMassiva = 100;
Constant whole F = 10;
Array of integer numbers of Mas [ShirinaMassiva, VysotaMassiva];
//Here there should be an initialization of an array by random numbers
Whole the Counter = 0;
Cycle column from 0 till Width of an array
Cycle row from 0 to array Height
Condition (if Mas [column, row] is more F) then the Counter = the Counter + 1;
The cycle end row
The cycle end column

As that so smile
It is finite on VB, but I think you consult, it is necessary to rewrite all that on language VB

5

Re: VB6 The task on two-dimensional arrays. The help is necessary!

Roman Mejtes;
I will try, thanks