Guest User

Untitled

a guest
Oct 15th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. pragma solidity ^0.4.18;
  2.  
  3. contract Coursetro {
  4.  
  5. string fName="satyajit";
  6. uint age;
  7.  
  8. function setInstructor(string _fName, uint _age) public {
  9. fName = _fName;
  10. age = _age;
  11. }
  12.  
  13. function getInstructor() public constant returns (string, uint) {
  14. return (fName, age);
  15. }
  16.  
  17. }
Add Comment
Please, Sign In to add comment