Audit dao logo

Arithmetic calculation

Smart-contract for calculating

Audit dao logo

Audit Dao team

Total Award

Total 700,000 ADAO

(Be entitled to get tokens for each quest you submit. Answer more quests! )


Until January 31, 2022 at 23:59 UTC


Licence:
SPDX-License-Identifier: GPL-3.0-or-later
Environment:
Version: Solidity v0.8.9

Question: Submit smart-contract for calculating about addition, subtraction, multiplication, division.

Constraints:
* Contract name -> Arithmetic
* function name ->
* sumCalc
* subCalc
* mulCalc
* divCalc

BaseCode:
// SPDX-License-Identifier: GPL-3.0-or-later 
pragma solidity 0.8.9;
contract Arithmetic {
//addition function
function sumCalc()
// subtraction function function subCalc()
// multiplication function function mulCalc()
// division function function divCalc()
}
Open Remix

or your favorite editer


Input Your solidity code