Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int BtwPercentage;
- double PrijsExclBtw, PrijsInclBtw, BtwBedrag;
- Console.Write("Geef prijs excl btw:");
- PrijsExclBtw = double.Parse(Console.ReadLine());
- Console.Write("Geef BTW Percentage:");
- BtwPercentage = int.Parse(Console.ReadLine());
- BtwBedrag = PrijsExclBtw / 100 * BtwPercentage;
- PrijsInclBtw = PrijsExclBtw + BtwBedrag;
- Console.WriteLine("Je bedrag incl btw is {0}", PrijsInclBtw);
- Console.ReadLine();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement