precedence.cnj 138 B

12345678
  1. /* testing the shunting yard operator precedence algorithm */
  2. int main()
  3. {
  4. return 1 + 2 + 3 + 5 * 4 * 6 + 5; /* answer is 131 */
  5. }