YOU SAID:
eat food in class cause yummy
INTO JAPANESE
クラスで食べ物を食べるとおいしい
BACK INTO ENGLISH
Eating food in class is delicious
INTO JAPANESE
授業で食べ物を食べるのはおいしい
BACK INTO ENGLISH
Eating food in class is delicious
That didn't even make that much sense in English.