Please what is the error in my code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Please what is the error in my code

The function which is not working is getMoyenne() Which should to get the notes of etudiant and then put them in a hash map. https://code.sololearn.com/c2A9A0a12a16/?ref=app

14th Feb 2021, 5:52 PM
Amal Gil
Amal Gil - avatar
4 Answers
+ 2
I'm not a Java programmer, but you may have forgotten to import the libraries for Map and HashMap
14th Feb 2021, 6:25 PM
Angelo
Angelo - avatar
+ 2
@Angelo no the code is executed in eclipse but the function getMoyenne is not working properly.
14th Feb 2021, 6:28 PM
Amal Gil
Amal Gil - avatar
+ 1
Abdellah thank you,i really apreciate it
18th Feb 2021, 2:06 AM
Amal Gil
Amal Gil - avatar