100 Days Of Solidity, Reading State Variables, Writing State Variables, State Variables.
a `set` function for updating the value of `num` and a `get` function for reading its value. Writing to a State Variable To update the value of a state variable, we need to send a transaction to the blockchain. In the `SimpleStorage` contract, the `set` function is responsible for updating the