Last active
July 28, 2022 14:33
-
-
Save Scofield-Idehen/42250627e790fc2440719fc0bbfe7ba7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
contract Food{ | |
uint NewFunction; | |
function store(uint _NewFunction) public{ | |
NewFunction = _NewFunction; | |
} | |
function retrieve()public view returns (uint){ | |
return NewFunction; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment