Skip to content

Instantly share code, notes, and snippets.

@AliArshadswl
Created July 14, 2021 02:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AliArshadswl/02819f4d7c09cfdb8b0b97686c644c37 to your computer and use it in GitHub Desktop.
Save AliArshadswl/02819f4d7c09cfdb8b0b97686c644c37 to your computer and use it in GitHub Desktop.
pragma solidity >=0.6.2 <0.7.0;
contract store_load_name
{
string first_name;
function store(string memory _f_name)public {
first_name=_f_name;
}
function load() public view returns(string memory) {
return first_name;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment