+ 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
4 Respostas
0
Can you Share your code hear?
0
ofc ill send it tomorrow. im not at home right now 😋
0
OK cool
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.