r/CodingHelp • • Jan 26 '20

Calculator loop help

Post image
15 Upvotes

12 comments sorted by

View all comments

2

u/[deleted] Jan 26 '20

Hello all,

I made a calculator program. And I am trying to get it to repeat when you are done. IE you use it, it asks do you want to go again, enter yes, the original program runs again. Can someone explain the while loop to me, I feel this is what I am asking for but I've been scratching my head in how to make it work properly. I am fairly new at coding so please forgive me for anything I missed here.