Hi, Something missing here:
while (int i, i < 30, i++){
think you need:
while (int i=0; i < 30; i++){