Class 6B has 18 male students and 22 female students. How many percent of the class are male students?
六B班有18名男同学，22名女同学．男同学占全班人数的几分之几？
<gadget id="calculator">18 + 22</gadget>
<output>40</output>

<gadget id="calculator">18 / 40</gadget>
<output>9/20 = around 0.45</output>

<result>9/20 = around 0.45</result>