Skip to content
This repository was archived by the owner on Dec 10, 2021. It is now read-only.

Commit c80631d

Browse files
committed
ht4: correcting numbers 2
1 parent 76c8b47 commit c80631d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/Main.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,16 @@ public static void main(String[] args) {
6868
String text = "Hello, " + name + "!";
6969
System.out.println(text);
7070

71+
//task 4
72+
int a = 4;
73+
//int a = 10;
74+
int b = 7;
75+
//int b = 12;
76+
//int sum = 1 + a + b;
77+
//int sum = 2 + a + b;
78+
int sum = 9 + a + b;
79+
//int sum = 4 + a + b;
80+
System.out.println("sum = " + sum);
81+
7182
}
7283
}

0 commit comments

Comments
 (0)