From 0f1e6477979186db52a2784c4c2c016a59e8193b Mon Sep 17 00:00:00 2001 From: Yashika Pandey <115650225+YashikaaPandey@users.noreply.github.com> Date: Mon, 18 Aug 2025 14:26:17 +0530 Subject: [PATCH] Create addition --- addition | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 addition diff --git a/addition b/addition new file mode 100644 index 0000000..df8dd22 --- /dev/null +++ b/addition @@ -0,0 +1,14 @@ +// Java program to add two numbers +public class AddNumbers { + public static void main(String[] args) { + // Declare two numbers + int num1 = 10; + int num2 = 20; + + // Add them + int sum = num1 + num2; + + // Print the result + System.out.println("The sum is: " + sum); + } +}