Je débute et j'ai deja quelque probleme. J'ai une erreur mais je ne vois pas comment faire pour arriver a compiler sans erreur. Je vous montre ce que j'ai fait. J'ai re lu 100x mais je ne comprends pas comment resoudre le probleme
program Test1;
var
a := 0<x<360 ; ---> l'erreur se trouve ici a ce qui parait
b := 0<y<360 ;
c := 0<z<360 ;
e := a+b+c=180 ;
begin ;
if e:= a+b+c= 180 ;
then afficher 'ceci est un triangle ' ;
begin ;
if a=b=c and e=180 ;
then Afficher 'triangle equilateral' ;
else a=b or b=c or c=a and e=180 ;
begin ;
if Afficher a=b or b=c or c=a;
then Afficher 'triangle isocèle' ;
begin ;
if a=90 or b=90 or c=90 and b=c or c=a or a=c and e=180 ;
then Afficher 'triangle rectangle isocèle' ;
else Afficher 'triangle isocèle' ;
end ;
else a=90 or b=90 or c=90 ;
begin ;
if a<>b<>c and a=90 or b=90 or c=90 ,
then Afficher 'triangle rectangle' ;
else Afficher 'Triangle scalene' ;
end ;
end ;
else ceci n est pas un triangle ;
end.
l'erreur = fatal error syntax : expected but ":=" found