Code has been added to clipboard!

Setting Solidity Functions to Pure

Example
pragma solidity >=0.5.0 <0.7.0;

contract C {
    function f(uint a, uint b) public pure returns (uint) {
        return a * (b + 42);
    }
}