Book of programming problems

Contains advanced programming problems for schools, colleges and problem-hungry inidividuals

Evaluate an arithmetic formula consisting of symbols 0-9,*,/,+,-,^
Complexity (1-100): 25
An arithmetic formula is written in a string containing only decimal digits and symbols '+', '-', '*', '/', '^' (exponentiation). There are no other symbols in the string. Evaluate the furmula.

Self-tests:
  1. -1-5+6*7^3/8 = 251.25000
  2. 2^2^2^2^2/65536 = 1.00000

Solution:Show/hide explanation | Solution.hs
There are no posts in this topic.

Post Reply

Book of programming problems is powered by UseBB 1 Forum Software | Contact Admin