graphsize 375,675 cls clg color yellow rect 0,0,graphwidth,graphheight color black poly {48,48,302,48,302,600,73,600,73,100,48,48} color white poly {50,50,300,50,300,600,75,600,75,100,50,50} nb=int((rand*19)+1) hg=nb*25 q=hg*2 color cyan rect 76,600-hg,224,hg color black for i=0 to 19 z=i*25 line(250,100+z,300,100+z) next i for i=0 to 9 z=i*50 line(200,100+z,300,100+z) next i poly {302,600,75,600,25,650,350,650,302,600} font "Arial",18,50 text 100,80,"1000 ml" text 110,130,"900 ml" text 110,180,"800 ml" text 110,230,"700 ml" text 110,280,"600 ml" text 110,330,"500 ml" text 110,380,"400 ml" text 110,430,"300 ml" text 110,480,"200 ml" text 110,530,"100 ml" Print "Quelle quantité de liquide, en ml, l'éprouvette contient-elle ? " input rep if rep=q then Print "Bravo !" else print "Erreur !" end if Print "L'éprouvette contient "+q+" ml de liquide."