The appropriate data type to store the user's year of birth would be integer. Years are typically represented as whole numbers, and using an integer allows for straightforward arithmetic operations on them if needed.
Which data type should be used for a variable that will store the user’s year of birth?
(1 point)
Responses

string
string

float
float

object
object

integer
1 answer