Skip to content

Instantly share code, notes, and snippets.

@AliArshadswl
Created July 21, 2021 09:52
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/77fa7e52fd596faa31994c3b4854d3ab to your computer and use it in GitHub Desktop.
Save AliArshadswl/77fa7e52fd596faa31994c3b4854d3ab to your computer and use it in GitHub Desktop.
pragma solidity =>0.4.1 <0.4.17;
contract employees_records
{
int id;
string f_name;
string last_name;
string address_;
string mob_no;
function store_information (uint _id, string _f_name, string _last_name, string _address_, string _mob_no ) public
{
id= _id;
f_name= _f_name;
last_name= _last_name;
address_= _address_
mob_no= _mob_no;
}
function retrive_information(uint, string, string, string, string) public view returns
{
return(id, f_name, last_name, address_, mob_no);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment