Created
July 21, 2021 09:52
-
-
Save AliArshadswl/77fa7e52fd596faa31994c3b4854d3ab 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
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