System Posted February 28, 2011 Report Posted February 28, 2011 exista functie ptr max si min a 2 nr in pascal? Quote
M2G Posted February 28, 2011 Report Posted February 28, 2011 Asa:Programs: To find max & min of an array in PascalSau asa? MaxMin Quote
totti93 Posted February 28, 2011 Report Posted February 28, 2011 In Borland Pascal nu este, dar in Free Pascal gasesti functia in unitul "math"Oricum, il poti scrie tu, iti ia 3 randuri fiecare.LE: ^A raspuns, nu am vazut. Quote
pr00f Posted February 28, 2011 Report Posted February 28, 2011 Pentru doua numere poti folosi if. Daca a > b atunci | daca a < b atunci . Quote
Paul4games Posted February 28, 2011 Report Posted February 28, 2011 Pentru doua numere poti folosi if. Daca a > b atunci | daca a < b atunci .este mai bine cu:if a>b then max:=aelse max:=b Quote