Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Hello, given the error, the problem isn't in the solidity file but in the way you deployed the contract. Make sure to not leave empty the value of new_x when you're deploying (in Remix, it's in the box right of the "Deploy" button)
new_x
when you're deploying (in Remix, it's in the box right of the "Deploy" button)