100 Days Of Solidity, Reading State Variables, Writing State Variables, State Variables.
`num` variable. Let’s examine it further: ```solidity function set(uint _num) public { num = _num; } ``` The `set` function takes an input parameter `_num` of type `uint` and assigns its value to the state variable `num`. By invoking the `set` function and providing a desired value, the state