-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMapremiereclass.java
More file actions
43 lines (36 loc) · 942 Bytes
/
Copy pathMapremiereclass.java
File metadata and controls
43 lines (36 loc) · 942 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
public class Mapremiereclass {
public static void main(String[] args) {
int note1 = 20;
int note2 = 0;
int note3 = 0;
int a;
int b;
int c;
int calcul = (note1 + note2 + note3) / 3;
System.out.println(calcul);
String azert = "bonjour";
System.out.println(azert);
a = 8;
b = 4;
c = 2;
int resultat;
resultat = a + b;
System.out.println(resultat);
resultat += c;
System.out.println(resultat);
int money = 5100;
if (money >= 5000) {
System.out.println("oui");
} else {
System.out.println("non");
}
int age=3;
String nom="tall";
System.out.println(nom+" "+age);
int note5=12;
int note6=15;
int note7=56;
int somme=(note5+note6+note7)/3;
System.out.println(somme);
}
}