BINANCE:BTCUSDT   Bitcoin / TetherUS
JUST A Short/SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
//Develop a contract write a argumental constructor passing two integers
//And write product function which will return the product of argument passed in the constructor.
contract product{


uint256 mul2;
uint256 num1;
uint256 num2;
constructor (uint256 _a,uint256 _b) {
num1=_a;
num2=_b;

}

function calc4(uint256 _a,uint256 _b) public returns(uint256){

mul2 = _a * _b;
return mul2;
}

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.