Created
April 16, 2018 01:32
-
-
Save zabirauf/bef09015496b5e3126c316fdb18ccdcd 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.21; | |
import './GlobalCalculator.sol'; | |
contract GlobalCalculator_V2 is GlobalCalculator_V1 { | |
function getMul() public view returns (uint mul) { | |
mul = 1; | |
for (uint i = 0;i < _nums.length; i++) { | |
mul *= _nums[i]; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment