how to get check a proper data type has been given by the user : <p>suppose I  have a variable of integer type 'a'</p>

<p>now ill ask user to enter an input after he gave an input i want to check weather he entered an integer type or anything else</p>

<p>for the above question what should i have to do</p>
