+ 2

C# Calculator

Hello Coding friends! At the moment I’m trying to code my first calculator. (I’m a newbie) It’s pretty fun. I know how to add The ‚addition‘ and ‚subtract‘ Code (they also work) but not how the divide and multiply code looks like. I hope someone can help me. Greetings

24th Jul 2018, 6:54 PM
K9F
K9F - avatar
4 Answers
0
Can you Share your code hear?
24th Jul 2018, 8:10 PM
Nitzan
Nitzan - avatar
0
ofc ill send it tomorrow. im not at home right now 😋
24th Jul 2018, 8:24 PM
K9F
K9F - avatar
0
OK cool
24th Jul 2018, 9:05 PM
Nitzan
Nitzan - avatar
0
Division : public int Divide(int a,int b) { return a/b; } Multiplication : public int Multiply(int a,int b) { return a*b; } Replace with corresponding data types in the parameter list of the method.
25th Jul 2018, 7:17 AM
sathish
sathish - avatar