|
Bog'liq Visual Studio NEW 2020 (Oybek Mallayev)
20.
if (indexChecked[2]==5){
21.
Form3::BackColor=System::Drawing::Color::Green; }
22.
for(int i=0;iRows->Add();}
23.
for(int j=0;j
24.
dataGridView1->Columns[j]->HeaderText= (j+1).ToString()+" -
ustun";
25.
dataGridView1->Rows[i]->Cells[j]->Value =a[i][j].ToString();
26.
if(a[i][j]%2==0){s+=a[i][j];} }} g+=1;
27.
MessageBox::Show("Juftlari yig'indisi= " + s.ToString()); }
28.
if ( indexChecked[0]==0 && indexChecked[1]==2){
29.
if ( indexChecked[2]==3){
30.
Form3::BackColor=System::Drawing::Color::Yellow; }
31.
if ( indexChecked[2]==4){
32.
Form3::BackColor=System::Drawing::Color::Red; }
33.
if ( indexChecked[2]==5){
34.
Form3::BackColor=System::Drawing::Color::Green; }
35.
s=0;
36.
for(int i=0;iRows->Add();}
37.
for(int j=0;j
38.
dataGridView1->Rows[i]->Cells[j]->Value );
39.
if(a[i][j]%2==0){s+=a[i][j];} }}
40.
Do'stlaringiz bilan baham: |
|
|