- 1
Can anyone help me in solving bowling program
I am not able to solve it
3 Antworten
+ 1
Not understood bro
+ 1
bowling program (coding project in solo learning app)
Can you write the program and explain it
0
I can give you the answer but let us do it this way.
Here is a pseudocode on how I did it, it is just one method:
method()
int=0
String=“”
For (key in hashmap)
if value > int
int = value
String= key
Output(String)
More hints:
The loop is a for each loop.
You will need the .keySet() to get the hashmap keys.
You will need the .get(key) to get the value.
Hopefully this helps you, it is better to do it yourself.
Good luck and happy learning.