![]() |
while never ends - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Coding (https://sinister.ly/Forum-Coding) +--- Forum: Java, JVM, & JRE (https://sinister.ly/Forum-Java-JVM-JRE) +--- Thread: while never ends (/Thread-while-never-ends) |
while never ends - steadyremiix - 11-10-2020 so the task was to extend a previous calculator app that i wrote. i am supposed to extend the code so that after each calculation, it asks the user if they want to enter another calculation, if they do they should type "y" and the calculator should repeat. i'm using a while loop to do this but when i run it, it never ends. i'm extremely new to coding, any help will be appreciated. https://paste.ofcode.org/X6WjDAETVumLj6JXqebPDy RE: while never ends - mothered - 11-11-2020 (11-10-2020, 06:32 PM)steadyremiix Wrote: https://paste.ofcode.org/X6WjDAETVumLj6JXqebPDyJust letting you know that the link Is not working. RE: while never ends - steadyremiix - 11-11-2020 (11-11-2020, 11:27 AM)mothered Wrote:i managed to figure it out!(11-10-2020, 06:32 PM)steadyremiix Wrote: https://paste.ofcode.org/X6WjDAETVumLj6JXqebPDyJust letting you know that the link Is not working. thank you regardless. RE: while never ends - mothered - 11-11-2020 (11-11-2020, 01:53 PM)steadyremiix Wrote:All good.(11-11-2020, 11:27 AM)mothered Wrote:i managed to figure it out!(11-10-2020, 06:32 PM)steadyremiix Wrote: https://paste.ofcode.org/X6WjDAETVumLj6JXqebPDyJust letting you know that the link Is not working. Would you like me to close this thread? RE: while never ends - steadyremiix - 11-11-2020 (11-11-2020, 03:23 PM)mothered Wrote:yes !(11-11-2020, 01:53 PM)steadyremiix Wrote:All good.(11-11-2020, 11:27 AM)mothered Wrote: Just letting you know that the link Is not working.i managed to figure it out! RE: while never ends - mothered - 11-11-2020 (11-11-2020, 03:32 PM)steadyremiix Wrote:Done.(11-11-2020, 03:23 PM)mothered Wrote:yes !(11-11-2020, 01:53 PM)steadyremiix Wrote: i managed to figure it out!All good. If you want to reverse the change, simply shoot me a PM. |