get range of values in mongodb

C
db.student.find({ u1 : { $gt :  30, $lt : 60}});

Source

Also in C: