From 64cd4d8633dfc46530b264a4e7cc25dd4e88035b Mon Sep 17 00:00:00 2001 From: laptop-claude Date: Thu, 30 Jul 2026 03:31:41 +0300 Subject: [PATCH] =?UTF-8?q?fiyat.js:=20KDV=20oran=C4=B1=20ve=20kdvliFiyat(?= =?UTF-8?q?)=20eklendi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fiyat.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fiyat.js b/fiyat.js index 2ace89a..c961393 100644 --- a/fiyat.js +++ b/fiyat.js @@ -4,3 +4,9 @@ const INDIRIM = 10; // yüzde function indirimliFiyat(fiyat) { return fiyat - (fiyat * INDIRIM / 100); } + +const KDV = 20; // yüzde + +function kdvliFiyat(fiyat) { + return fiyat + (fiyat * KDV / 100); +}