Four basic mathematical operations; creating answer with explanation. | SoloLearn: Learn to code for FREE!

0

Four basic mathematical operations; creating answer with explanation.

I want to add if statement on my code, so the question is this. As for division, the first number is dividend, and the second number is divisor? How about addition, multiplication, And subtraction? I thought that for subtraction, the 1st number is subtrahend and the second number is subtractor, but google says they are same? Help, I'm just curious, advance thanks to brothers and sisters. :) 😄 https://code.sololearn.com/cd9amX4QM8lS/?ref=app

9/26/2020 2:59:25 AM

Jonathan Jundarino

11 Answers

New Answer

+5

Jonathan Jundarino To answer your question, "operand" would be the general name for referring to the values placed on the left and right hand sides of arithmetic operators like +, -, *, /, and %. The names could be more specific as follows: ------ addition (+) --- augend + addend = sum "addend" can be used for both operands as well. ------ subtraction (-) --- minuend - subtrahend = difference ------ multiplication (*) --- multiplicand * multiplier = product "factor" can be used for both operands as well. ------ division (/) --- dividend / divisor = quotient ------ modulos (%) --- dividend % divisor = remainder This should satisfy what you're looking for.

+2

Jonathan Jundarino please provide a coding related issue not what appears to be math homework. Please follow the forum guidelines. Thanks and happy coding. https://www.sololearn.com/discuss/1316935/?ref=app

+2

Jonathan Jundarino please follow the 8 rules for getting help from the community. https://www.sololearn.com/Blog/38/8-simple-rules-to-get-help-from-the-community

+2

Jonathan Jundarino It appears your question is about terminology ...not coding. It is not really mathematics either... again... terminology

+2

I just want to say logic is important. I don't know if you already created a system that can help solving ploblem. That's what I'm aiming for. Programming is for that purpose, to help solving problem. If you don't know the answer also, please stop replying. Also, please remove the like you've done in your comment, so others might answer that can gave me satisfaction.

+2

BroFar I think the context of the question (based on the follow up clarifications) is meant to help determine naming for variables or output labels or comments to be used in the code. In this case, the desire might be to use meaningful names that reflect the operands of a given operation rather than use generic variable names like x and y. If that is the case, then the question seems to be fitting. NOTE: I'm not saying that my opinion overrules yours. I'm just sharing my opinion. 😉👌

+2

Jonathan Jundarino It would help if you could update your question text above to establish a clearer coding context. Otherwise, the feedback from BroFar would apply here as it's meant to keep the content in Q&A aligned with programming related questions.

+1

Sorry, I'm not here to debate, but it's programming related question. How can you say that it's not, logic is part of programming. How can you code without logic? Understandaning math is also part of programming.

+1

David Carroll Okay, I really thanks for your comment. I just want to sorry to BroFar, we dabate and nothing good cames from that. Thanks also for your comment Brofar, this is my first time asking here. My fault.

+1

Thank you so much for that, I've learned again today. Google doesn't give that answer.

0

Sorry, it's not a math homework. I just want to make a code that explain the answer from 4 basic mathematical operations. Code is not the problem, but the logic. Thanks for your comment.