Hi guys, I find my problem at the end and succeed to understand what to ask exactly.
I have a problem with + or * arithmetic manipulations, what's confusing me is like this: 5 * integer=integer(doesn't matter what's the number but its type of is integer) , 5+integer=integer(doesn't matter what's the number but its type of is the same); so what's confusing me why beta * (any number of " type of " ) = the same type of, beta + (any number of type of) = type of?
for example 34(orange)=12(orange) so I can look at 3(any number of type orange)=appropriate number of type orange ... why * and + will definately lead to the same typeof that we used in its manipulation of +/- ? thanks
for instance if I have 3 birds then beta3birds=number of type "birds" so I can say beta3bird=suitable number of type "bird" .. I'm asking why we are getting in the result type of bird although we have used "*" in the term?!
I have a problem with + or * arithmetic manipulations, what's confusing me is like this: 5 * integer=integer(doesn't matter what's the number but its type of is integer) , 5+integer=integer(doesn't matter what's the number but its type of is the same); so what's confusing me why beta * (any number of " type of " ) = the same type of, beta + (any number of type of) = type of?
for example 34(orange)=12(orange) so I can look at 3(any number of type orange)=appropriate number of type orange ... why * and + will definately lead to the same typeof that we used in its manipulation of +/- ? thanks
for instance if I have 3 birds then beta3birds=number of type "birds" so I can say beta3bird=suitable number of type "bird" .. I'm asking why we are getting in the result type of bird although we have used "*" in the term?!
Last edited: