Need quick help

I have one script that named testing.sh
#cat testing.sh
#/bin/bash
echo "Enter your name:"
read name

#./testing.sh
Enter your name:
Sanjay

What I need it should take Input in the same prompt(mean to say dun go for next line) like given below.
#./testing.sh
Enter your name:Sanjay

This sounds like homework.
One way, depending on your version of echo

echo "enter your name \c"
read name
#linux
echo -n "Enter your name"
read name

Don't ask for homework help oon the forums - against the rules