Thanks for your participation:
so here are the correction in your answers.
In ans 7 :
part c answer is :
2 times x is now 20
x is now 19
x is now 17
x is now 14
x is now 10
In part d we will be stuck in a infinite console message with different messages so maybe you should try running the code i the browser and tell me what happened.
Keep practising and thanks again for your participation.