Temperature monitoring and Transport over GSM network

I am new to arduino and very much want help with my school project. i am using an LM35 temperature sensor, an arduino uno and a SIM900 GSM shield.
I currently have the codes for LM35 and "send text" for GSM but i cant figure out how to make them interoperate.

I would like the readings recorded by the temperature sensor be sent to the serial monitor at all times but when the temperature value is greater than or equal to 38 degrees, the readings should also be sent over a GSM network to a predefined number.

Attached are the individual codes. Any help will be very much appreciated.

send_sms.ino (1.21 KB)

temp.ino.ino (488 Bytes)