I want to ask user to input two parameters of one product and I want both of them to go on the same line. However, I also want to have some text between the values that user inputs.
So, I want to have something like this:
1) Initial text: "Oil quality "
2) User inputs value (say 5): "Oil quality 5"
3) User presses "return" and another portion of the text appears: "Oil quality 5 for $"
4) User inputs price value and after he/she presses "return" cursor moves to the next line.
I have a problem on step 3 as I have no idea which input command to use in order to both read the input after "return" is pressed and prevent the cursor from moving to the next line.