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;
}

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。