GithubHelp home page GithubHelp logo

pos-3021's Introduction

Tax calculator in 3021

Imagine..

You are in 3021. Earth has moved so much that we, human beings started doing business with clueless doings living in planet Kepler, not very far from Earth.

Don't worry! They too use the same number system...

So we gonna build a tax calculator system for the world in 3021.

Ready???

Earth charges sales tax as 10% for all the goods. But just with any tax calculation system in the universe, this is not that easy.

We charge less i.e. 8% for the food items. But, this is not applicable for the food items imported from Kepler.

Apart from basic sales tax for any item that is imported from Kepler, Earth charges 3.23% additional import duty. However, as Earth lacks water and it's a basic need, the import duty is waived off on that. But make sure it appears as waived off in the receipt with name "Water waive-off".

As the Earth has not become a cashless economy yet, make sure the total value of the receipt is rounded off to nearest integer. Always round up. i.e if the amount is 13.01, output as 14.

The system Product details and outputs the receipt. Assume details by yourself.

Do not worry about input processing.

PS: BTW, clueless doings speak Tamil ;)

pos-3021's People

Watchers

Senthil  V S avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.