List all the elements of the following sets:

B = {x : x is an integer, –1/2 < x < 9/2}


Here, Given


- 0.5 < x < 4.5


Integers = ……. -4,-3, -2, -1, 0, 1, 2, 3, 4, 5, 6 ………


Elements of the given set are 0, 1, 2, 3, 4


B = {0, 1, 2, 3, 4}


5
1