Respuesta :

Answer:

No error

Explanation:

Required

Determine what happens when the given scenario happens

When the given scenario occurs, the translator erases the fractional part of the input and saves only the integer part into the declared variable

Take for instance, the following code segment written in c++

int anum ;

cin>>anum ;

cout<<anum ;

Assume the user input is 3.4, the compiler prints out 3 leaving out the .4

Please note that; this may not be applicable for all programming languages; However, the above illustration is so in most cases