Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.


+10 votes

In App.java, does pressing the reset button only reset the total rolls, or does it also reset the just roll?

asked in CSC305 Fall 2023 by (1 point)

2 Answers

+3 votes

My reset button only reset the total rolls value and left the last roll value the same as the last roll.

answered by (1 point)
+3 votes

I believe the lab didn't specify, so either way is fine.

I can imagine "user story" arguments in favor of either way.

answered by (508 points)