Air conditioning faltered at Montgomery County’s John F. Kennedy High School in Silver Spring. (Sarah L. Voisin/The Washington Post)

It was a bad day to be holed up in a building with a faltering air conditioner, but students and staff at John F. Kennedy High School in Silver Spring braved summer school classes that way despite Monday’s severe heat.

Montgomery school officials said Kennedy’s air conditioning was operating at about 50 percent, with crews working to make repairs.

Temperatures in some classrooms climbed as high as 84 degrees, but many rooms remained at the normal temperature of 76 degrees, said spokeswoman Gboyinde Onijala. The summer school day went on as scheduled, ending about 1 p.m., she said.

Work crews are hoping to have the air-conditioning fully operational by Tuesday, with no interruption to summer classes.

“As of now, everything is scheduled to go on as planned,” Onijala said.

Kennedy is one of four high schools that are sites for Montgomery County summer school classes. The other three did not have problems, she said.