Skip to content

Addition  #205

Description

@sowtheesh61-tech

public class Addition {
public static void main(String[] args) {
int number1 = 10;
int number2 = 25;
int sum = number1 + number2;
System.out.println("The sum of " + number1 + " and " + number2 + " is: " + sum);
}
}

SUBTRACTION

public class SubtractionProgram {
public static void main(String[] args) {
int number1 = 25;
int number2 = 10;
int difference = number1 - number2;
System.out.println("The first number is: " + number1);
System.out.println("The second number is: " + number2);
System.out.println("The difference is: " + difference);
}
}

multiplication

public class MultiplyFixedNumbers {
public static void main(String[] args) {
int num1 = 12;
int num2 = 13;
int product = num1 * num2;
System.out.println("The product is: " + product);
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions