Completed q3.ver1
Allowed decimal values for input (in q2)