Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pragma solidity ^0.4.16;
- contract University {
- constructor() public {
- }
- address public owner;
- string fName;
- string lName;
- string Studies;
- }
- function checkStudentExists (student name) public constant pure returns (bool) {
- if (student [i] == student name) pure return true
- else {
- return false
- }
- }
Add Comment
Please, Sign In to add comment