alanchchen
5/31/2018 - 8:09 AM

Counter.sol

pragma solidity ^0.4.21;

contract Counter {
    uint counter;
    
    constructor() public {
        counter = 0;
    }

    function count() public {
        counter = counter + 1;
    }
}