Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialsyalih
16,468 PointsCode for rerun again
in the end program compiled successfully how can I add this command in this program "Want to try again Yes for rerun program again and No for exit program" which method should I use and how
2 Answers
boog690
8,987 PointsYou can put the entire program in a while loop testing for the final user input yes or no.
syalih
16,468 PointsThanx ;) I forget this while loop method now I got it