Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 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.