summaryrefslogtreecommitdiffstats
path: root/šola/p1/vaje/2023-10-12/Vsota1.java
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-10-14 16:11:26 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2023-10-14 16:11:26 +0200
commitf7249fd9c58cb60202fd8a1a5aeb78a9d47df5d0 (patch)
tree029559b8de3f18a852e767741827b775979fbcd8 /šola/p1/vaje/2023-10-12/Vsota1.java
parentskripti (diff)
downloadr-f7249fd9c58cb60202fd8a1a5aeb78a9d47df5d0.tar
r-f7249fd9c58cb60202fd8a1a5aeb78a9d47df5d0.tar.gz
r-f7249fd9c58cb60202fd8a1a5aeb78a9d47df5d0.tar.bz2
r-f7249fd9c58cb60202fd8a1a5aeb78a9d47df5d0.tar.lz
r-f7249fd9c58cb60202fd8a1a5aeb78a9d47df5d0.tar.xz
r-f7249fd9c58cb60202fd8a1a5aeb78a9d47df5d0.tar.zst
r-f7249fd9c58cb60202fd8a1a5aeb78a9d47df5d0.zip
Diffstat (limited to 'šola/p1/vaje/2023-10-12/Vsota1.java')
-rw-r--r--šola/p1/vaje/2023-10-12/Vsota1.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/šola/p1/vaje/2023-10-12/Vsota1.java b/šola/p1/vaje/2023-10-12/Vsota1.java
new file mode 100644
index 0000000..b033c15
--- /dev/null
+++ b/šola/p1/vaje/2023-10-12/Vsota1.java
@@ -0,0 +1,7 @@
+import java.util.*;
+public class Vsota1 {
+ public static void main (String[] args) {
+ Scanner sc = new Scanner(System.in);
+ System.out.println(sc.nextInt() + sc.nextInt());
+ }
+}