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
To see details and more inside Pirichain Explorer click link below.