Print output and read input on same line

How do I print output and read input on the same line in ksh?

echo Hello, what is your name? read name

echo "what is your name: " && read name

1 Like