This is my first c++ program . I've written the majority of it and I'm getting weird results. Would someone look at it and help me figure out what I'm do wrong? How would I continue the program until the user is ready to quit? Use a while statement? My program is attached.

Problem Statement:
Write a program (in a single source code file) that will do the following (in order):
Ask the user to input three unique digits (0 through 9), and read in the input. (You may assume that the input is correct - no error checking needed).
Using these digits, create and output the six unique numbers that can be made using all combinations of the three digits.
Output the sum of the six numbers
Ask the user if they want to run the program again. The user will input a character. 'Y' or 'y' will be considered a "yes" response. Anything else should be considered a "no". If the response is yes, repeat the processing. If no, end the program.

Sample output
Welcome!
Enter three unique digits (0 through 9)
Enter digit 1: 8
Enter digit 2: 0
Enter digit 3: 3
The six new numbers:
803
830
83
38
380
308
Sum of the six new numbers: 2442

Would you like to run it again? (y/n): Y