can somebody PLEASE tell me why this is giving me illegal break, and illegal default errors??!!!
Code :switch(key) case 'w': shipAcc_y =+ 0.1; printf("\n----- Up pressed.\n\n\n\n\n shipAcc_y = %d \t", shipAcc_y); break; default: printf("key not vaild");



