chapter5-code-1
Thu Mar 30 2023 09:46:43 GMT+0000 (Coordinated Universal Time)
Saved by
@RareSkills
contract ExampleIfStatement {
function isAMultipleOfTen(uint256 x) public pure returns (bool) {
if (x % 10 == 0) {
return true;
}
else {
return false;
}
}
}
content_copyCOPY
Comments