Advertisement
Guest User

Untitled

a guest
Sep 24th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. int BtwPercentage;
  2. double PrijsExclBtw, PrijsInclBtw, BtwBedrag;
  3.  
  4. Console.Write("Geef prijs excl btw:");
  5. PrijsExclBtw = double.Parse(Console.ReadLine());
  6.  
  7. Console.Write("Geef BTW Percentage:");
  8. BtwPercentage = int.Parse(Console.ReadLine());
  9.  
  10. BtwBedrag = PrijsExclBtw / 100 * BtwPercentage;
  11. PrijsInclBtw = PrijsExclBtw + BtwBedrag;
  12.  
  13. Console.WriteLine("Je bedrag incl btw is {0}", PrijsInclBtw);
  14. Console.ReadLine();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement