Asking multiple questions using Chatgpt

I want to incorporate Chat GPT into my program but I want to ask the user multiple questions before returning the results. How can I store all of the users responses without returning the result until they answer all the questions?

Hi. You can consider using hidden variables (in a pop up for example) to store users’ responses. From that, you can easily send the prompt to Chat GPT.


Is there a way to do it in conversation style instead of a pop up? OP did you resolve this?