Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pragma solidity ^0.4.23;
- contract BooleanTest{
- bool _a;
- int num1 = 100;
- int num2 = 200;
- function getBool() public view returns(bool){
- return _a;
- }
- function getBool2() public view returns(bool){
- return !_a;
- }
- function equal() public view returns(bool){
- return num1==num2;
- }
- function equal2() public view returns(bool){
- return num1!=num2;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement