A sari-sari store needs a program that can help it add the corresponding profit and VAT values to its inventory.

The program should add 5% to the base price for the profit amount. The 12% VAT should be added to the price after the solving for the price with profit. Their functions should be separate (one function for the profit and one function for the VAT). As expected, this program will need to handle decimal values.

And your problem is?
That's a pretty basic assignment, typical for a school homework thing.

You should have no problem figuring it out on your own if you've been paying a minimal level of attention in your math and programming classes.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.