Created
July 21, 2021 09:56
-
-
Save AliArshadswl/eb852255b87b043353f585d557105e52 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.5.1 <0.7.0; | |
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