The number of students in a class, s, and the number of desks needed, d

Let's assume that each desk can seat 2 students.

Therefore, the number of desks needed can be calculated using the formula:

d = ceil(s/2)

Where ceil(x) is the smallest integer greater than or equal to x.

For example, if there are 25 students in a class:

d = ceil(25/2)
d = ceil(12.5)
d = 13

So, 13 desks would be needed for 25 students in the class.