I am having trouble creating a volume bar in Greenfoot(Java) and making it displ
ID: 3710710 • Letter: I
Question
I am having trouble creating a volume bar in Greenfoot(Java) and making it display the volume in a number between 0 and 100. The details are as followed:
For exercise 10.49, you need to display the volume either in a vertical bar or a horizontal bar. The lowest value is 0, and the highest value is 100. According to class GreenfootSound , its method getVolume() indicates that the volume is between 0 and 100. Alone with the bar, you also need to display the current volume level. The step for increasing and decreasing volume should be set to 2 or 5. The solution of these four exercises can co-exist in one scenario, and you don’t need to comment out any finished exercise when you are debugging the next exercise.
Explanation / Answer
Hi Friend, you have not posted exercise 10.49
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.