Jump to content

Alexander10

New Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Alexander10

  • Rank
    Newbie
  1. Alexander10

    PHP electricity bill task

    Hi my name is Alexander and i am new to coding. i am in need for tommorow for this task , but i cant figure out how to make it. Can anyone explain where is my mistake and how the code should look? I have some code but its full with errors.... Write down a program that uses the given electricity units and calculates the current electricity bill under the conditions: For the first 50 units - 0.10 For the next 100 - 0.15 For the next 100 - 0.25 For the next - 0.35 20% VAT is added to the general account. Input Output 150 24 155 25,50 201 39,30 302 75,84
×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.