Enclose the program in the loop that is controlled by the user's response of "y"
For example:
initialize user's answer to "Y"
while(user says "Y") {
do the work here
ask user if he wants...
Type: Posts; User: Norm
Enclose the program in the loop that is controlled by the user's response of "y"
For example:
initialize user's answer to "Y"
while(user says "Y") {
do the work here
ask user if he wants...
Use a while() loop
BTW The code should NOT hide }s at the end of statements. }s should mostly be on a line by themselves in column with the line with the pairing {