i2C between two arduinos with C

I have an linttle project for school where i have to connect two Arduinos and the Master have to send a float number and the slave one have to print it on lcd,Only with C code. Can someone help me with some examples or ideas. Thank you!