Hello guys? i'am working on Windows application form c# and I have 4 Columns in my datagridView, lets say i have 3 rows just like this

```
-------------------------------
|Grade1|Grade2|Average|Remarks|
|------|------|-------|-------|
|    85|    80|   82.5|PASSED |
|    76|    86|     81|PASSED |
|    75|    72|   73.5|FAILED |
-------------------------------

```

Now my question is it possible if i click a compute button it will compute each rows of the Column"Grade1" and Column"Grade2" the computation is

`Grade1 + Grade2 = Average and Average = Average/2`

if it's below 74 the remarks column automatically Have a "FAILED"
if it's above 75 the remarks column automatically Have a "PASSED"

Does anyone have a example code or a link that can help me to do this? Thank you so much!