🎓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.

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.

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.

https://explorer.pirichain.com/scenarios/PRTMQ7fcZp7ACGDEom4KJQ4bvJ5nwQ3CcaUTFy642mE

Last updated