Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 827 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 827 Bytes

SimpleCounter

This is a simple calculation app that contain function like:

  1. fundMe:
    this is payable function for injecting ETH.

  2. increaseByOne:
    everyone can see this function and they can call it for increasing the count.

  3. decreaseByOne:
    everyone can see this function and they can call it for decreasing the count.

  4. increase:
    this function can be called to increasing the count by elevator amount.

  5. decrease:
    this function can be called to decreasing the count by reducer amount.

  6. multiply:
    this function can be called for multiplying the count by modulus amount.

  7. divide:
    this function can be called for dividing the count by div amount.

if our current count is 0,
we can decrease it because the result will be negative