Birlasoft Interview Question

how to create a nested prompt , give me steps?