Created
August 5, 2018 03:58
-
-
Save sai-sondarkar/a226ca5513971aa56cccaa879a3566ea 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.18; | |
contract Coursetro { | |
string fName; | |
uint age; | |
function setInstructor(string _fName, uint _age) public { | |
fName = _fName; | |
age = _age; | |
} | |
function getInstructor() view public returns (string, uint) { | |
return (fName, age); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment