Ad
Code
Diff
  • public class Multiplication
    {
    //Changed Multip to Multiply, rules of clean code, never shorten names
    //Multiplies two integer parameters.. (leave comments on your code for better readability)
        public int Multiply(int a, int b)
        {
            return a * b;
        }
    }
    • public class Multiplication
    • {
    • public int Multip(int a, int b)
    • //Changed Multip to Multiply, rules of clean code, never shorten names
    • //Multiplies two integer parameters.. (leave comments on your code for better readability)
    • public int Multiply(int a, int b)
    • {
    • return a * b;
    • }
    • }