-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDE.ti83
48 lines (48 loc) · 885 Bytes
/
DE.ti83
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
43
44
45
46
47
48
0->A:0->B:0->C:0->D:0->E:0->F
Input "NB LANCE ? ",θ
For(Z,0,θ-1
randInt(1,6)->Y
If Y=1
Then
A+1->A
Else
If Y=2
Then
B+1->B
Else
If Y=3
Then
C+1->C
Else
If Y=4
Then
D+1->D
Else
If Y=5
Then
E+1->E
Else
If Y=6
Then
F+1->F
End
End
End
End
End
End
End
ClrHome
Output(1,1,"RESULTATS:"
Output(3,1,"1 :"
Output(4,1,"2 :"
Output(5,1,"3 :"
Output(6,1,"4 :"
Output(7,1,"5 :"
Output(8,1,"6 :"
Output(3,5,A
Output(4,5,B
Output(5,5,C
Output(6,5,D
Output(7,5,E
Output(8,5,F