You are viewing a single comment's thread from:

RE: SEC S19W6 || Data type and Conditional statement

i have a confusion in the task 3

Create a function that would solve addition, subtraction, division, multiplication. With 3 parameters.

the function should accept 3 numbers for the calculation or the 2 numbers and one operator please make it clear for me thank you.

Sort:  

2 numbers and 1 operator what I used. You can do both but I think here 3 parameters mean 2 number fields and third is operator

I meant a function that have 3 parameters, that can. Can run multiplication, substraction and division. In total I was expecting 4 Functions. But I have edited the questions.

Parameters in the question mean how many data I could calculate. If you are still confused. study about parameters and arguments.

@mohammadfaisal @chasad75

Coin Marketplace

STEEM 0.22
TRX 0.20
JST 0.034
BTC 98504.77
ETH 3362.26
USDT 1.00
SBD 3.06