charognard wrote:ça (de plus ce code en ... merdiq....)![]()
If A=1000
Then
iPart(A/100-H
100fPart(A/100-J
End
If A1000
Then
Lbl 0
Input "SIECLE: ",H
Input "ANNEE DS SIECLE: ",J
H-1-H
Goto 2
End
If A=10000
Goto 0
Lbl 2
par
If A=1000 AND A10000
Then
iPart(A/100-H
100fPart(A/100-J
ELSE
Input "SIECLE: ",H
Input "ANNEE DS SIECLE: ",J
H-1-H
End
Pas sûr que ce soit plus rapide mais bon :
- Code: Select all
If 3=int(log(A)+1
Then
iPart(.01A-H
100fPart(.01A-J
Else
Input "SIECLE: ",H
Input "ANNEE DANS SIECLE: ",J
H-1-H
End