Solidity version 0.8.0 compiler error

code was compiling well in 0.6.12 but in 0.0.8 showing some error: primary expression expected, so on.

here is the code:

You can compile it with the version that is working.

I want to use version 8, not 6:12.

Ok, I can not help you with that.

How did you choose in particular that 0.0.8 version?

I just want ti use newer version.