2.1.2. Scenario of calculating the semester average with course grades and coding example

As seen in Figure 2.7, the course name and course grades of the student were sent to the block via different transactions.
Figure 2.7: The course information of the student has been sent to his/her own address.
Figure 2.8: Smart scenario coding that finds the semester average
As seen in Figure 2.8, the smart scenario was coded upon calculating the student's semester average. All lecture notes of the student sent to the block network beforehand are shown in Figure 2.9.
Figure 2.9: Entire list of grades
These grades are intended to be averaged with a small scenario as in Figure 2.8. Coding was done in javascript format on the left side of Figure 2.8. As can be seen on the right, the period average is calculated by the system.
To see details and more inside Pirichain Explorer click link below.