[Solved] How to formulate this logic using only if statement?


Lets see:

The first five letters or numbers are included in the minimum charge; there is a $4 charge for each additional character.

In pseudo-code:

if sign-length <= 5:
  charge stays the same
else:
  charge = charge + (sign-length - 5) * rate-per-character

Should get you going …

solved How to formulate this logic using only if statement?