Do you think my program will work?

HazardsMind:

if(cm2<30,cm>30)

Two possible ways it should be.
You either want the values to between cm2<30 or cm>30 or cm2<30 and cm>30

Oh ok, I'll change it right now to and!