

Studia grazie alle numerose risorse presenti su Docsity
Guadagna punti aiutando altri studenti oppure acquistali con un piano Premium
Questa pagina non è visibile nell’anteprima
Non perderti parti importanti!


1 addExam (& reg , " Math " , 30 , 4) ; 2 addExam (& reg , " Physics " , 28 , 3) ; 3 addExam (& reg , " English " , 18 , 3) ; 4 addExam (& reg , " Chemistry " , 17 , 4) ; 5 addExam (& reg , " Physics " , 20 , 4) ;
6 7 >> Exams in the Register : 8 >> Math , Grade : 30 , Credits : 4 9 >> Physics , Grade : 28 , Credits : 3 10 >> English , Grade : 18 , Credits : 3 11 12 >> -> Average Weighted Exams Grades : 25. 2 Esercizio 2: Corridori
1 >> Before sorting : 2 >> Runners in the competition : 3 >> Position : 1 , Name : Alice , Time : 90 seconds 4 >> Position : 2 , Name : John , Time : 100 seconds 5 >> Position : 3 , Name : Bob , Time : 120 seconds 6 >> Position : 4 , Name : Eve , Time : 80 seconds 7 8 >> After sorting : 9 >> Runners in the competition : 10 >> Position : 1 , Name : Eve , Time : 80 seconds 11 >> Position : 2 , Name : Alice , Time : 90 seconds 12 >> Position : 3 , Name : John , Time : 100 seconds 13 >> Position : 4 , Name : Bob , Time : 120 seconds 3 Magazzino
e gia presente,a nel magazzino sommando la nuova quantita.