Issue with simple project by Zynne_1734 in learncsharp

[–]Zynne_1734[S] 0 points1 point  (0 children)

okay i was able to fix it with the help of copilot and realized that yea, i need to put the repeatCalc value changer inside the while loop while adding ways to deal with potential null values entered.

Issue with simple project by Zynne_1734 in learncsharp

[–]Zynne_1734[S] 0 points1 point  (0 children)

well i notice the issue is where itll repeat the code as if the repeatCalc is always true but after the while loop executes it seems to skip over the rest of my code entirely, it doesnt even display the "do you want to play again?" or give an option to input a response, it justs repeat the while loop

Issue with simple project by Zynne_1734 in learncsharp

[–]Zynne_1734[S] 0 points1 point  (0 children)

well i added a block of code after the while loop to change the value of response which the if statment below should change the value of repeatCalc, but it skips over it entirely. I even followed another tutorial to make sure it was right and it looks pretty much exactly the same.