Guest User

Untitled

a guest
Jun 24th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. pragma solidity ^0.4.16;
  2.  
  3. contract University {
  4. constructor() public {
  5.  
  6. }
  7. address public owner;
  8. string fName;
  9. string lName;
  10. string Studies;
  11. }
  12.  
  13. function checkStudentExists (student name) public constant pure returns (bool) {
  14. if (student [i] == student name) pure return true
  15. else {
  16. return false
  17. }
  18. }
Add Comment
Please, Sign In to add comment