Algorithm for calculation to prefix notations.
- Prefix Notasyonu (Polish Notation) ; Prefix notasyonunda (PN, polish notation) operatörler, operandlardan önce yazılır. Örneğin "* + * + 1 2 + 3 4 5 6" ifadesi icin;
Program input : * + * + 1 2 + 3 4 5 6
baslanildi
Guncellendi : * + * 3 + 3 4 5 6
Guncellendi : * + * 3 7 5 6
Guncellendi : * + 21 5 6
Guncellendi : * 26 6
Guncellendi : 156
Sonuc:156