{"id":229,"date":"2010-06-10T06:24:00","date_gmt":"1970-01-01T00:00:00","guid":{"rendered":"http:\/\/www.yazilimmutfagi.com\/?p=229"},"modified":"2010-06-10T06:24:00","modified_gmt":"1970-01-01T00:00:00","slug":"java-switch-case-kullanimi","status":"publish","type":"post","link":"https:\/\/www.yazilimmutfagi.com\/index.php\/2010\/06\/10\/java-switch-case-kullanimi\/","title":{"rendered":"Java &#8211; Switch case kullanimi"},"content":{"rendered":"<p>&nbsp;Swicth case yapisinin varligi bize bir &ccedil;ok if &#8211; else yazmaktan kurtararak yazdigimiz kodlarin daha kolayu anlasilir ve takip edilebilir olmasini saglar.&nbsp; Yapi olarak C dilinden g&uuml;n&uuml;m&uuml;ze degisim g&ouml;stermemistir diyebiliriz. Bu makalemizde nasit &ouml;rneklerle switch case yapisini anlamaya &ccedil;alisacagiz.<\/p>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% white;\"><font face=\"'Courier New'\" color=\"#7f0055\" size=\"3\"><span style=\"font-size: 13px;\"><b><br \/>\n<\/b><\/span><\/font><\/div>\n<div style=\"border: 1pt solid windowtext; padding: 1pt 4pt; background: none repeat scroll 0% 0% rgb(217, 217, 217);\">\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><b>&nbsp;<\/b><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">public&nbsp;<\/span><\/b><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">class<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\"> Switch {<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">public&nbsp;<\/span><\/b><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">static <\/span><\/b><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">void<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\"> main(String[] args){<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">int<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\"> yas=2;<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85); background: none repeat scroll 0% 0% silver;\">switch<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">(yas){<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">case<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\"> 1:<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.<\/span><i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192);\">out<\/span><\/i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">.println(<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);\">&quot;Bir yasindasin&quot;<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">);<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">break<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">;<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">case<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\"> 2:<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.<\/span><i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192);\">out<\/span><\/i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">.println(<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);\">&quot;iki yasindasin&quot;<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">);<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">break<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">;<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">case<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\"> 3:<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.<\/span><i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192);\">out<\/span><\/i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">.println(<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);\">&quot;&uuml;&ccedil; yasindasin&quot;<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">);<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">break<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">;<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">default<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">:<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.<\/span><i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192);\">out<\/span><\/i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">.println(<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);\">&quot;ka&ccedil; yasindasin?&quot;<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black; background: none repeat scroll 0% 0% silver;\">}<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<\/span><\/div>\n<div style=\"background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; line-height: 115%; font-family: &quot;Courier New&quot;; color: black;\">}<\/span><\/div>\n<\/div>\n<div style=\"background: none repeat scroll 0% 0% white;\">&nbsp;<\/div>\n<div><span style=\"font-family: &quot;Courier New&quot;;\">Program &ccedil;iktisi:<\/span><\/div>\n<div style=\"background: none repeat scroll 0% 0% rgb(217, 217, 217);\"><span style=\"font-family: &quot;Courier New&quot;;\">iki yasindasin<\/span><\/div>\n<div>&nbsp;<\/div>\n<div><span style=\"font-family: &quot;Courier New&quot;;\">Simdi break olmadan kullanalim.<br \/>\n<br \/>\n<\/span><\/div>\n<div>&nbsp;<\/div>\n<div style=\"border: 1pt solid windowtext; padding: 1pt 4pt; background: none repeat scroll 0% 0% rgb(217, 217, 217);\">\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">int<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\"> gunler=1;<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">switch<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">(gunler){<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">case<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\"> 1:<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.<\/span><i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192);\">out<\/span><\/i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">.println(<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);\">&quot;Pazartesi&quot;<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">case<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\"> 2:<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.<\/span><i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192);\">out<\/span><\/i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">.println(<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);\">&quot;Sali&quot;<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">);<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">case<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\"> 3:<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.<\/span><i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192);\">out<\/span><\/i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">.println(<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);\">&quot;&ccedil;arsamba&quot;<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">);<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">case<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\"> 4:<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.<\/span><i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192);\">out<\/span><\/i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">.println(<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);\">&quot;Persembe&quot;<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">);<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">case<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\"> 5:<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.<\/span><i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192);\">out<\/span><\/i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">.println(<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);\">&quot;Cuma&quot;<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">);<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">case<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\"> 6:<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.<\/span><i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192);\">out<\/span><\/i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">.println(<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);\">&quot;Cumartesi&quot;<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">);<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">case<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\"> 7:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">System.<\/span><i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192);\">out<\/span><\/i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">.println(<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);\">&quot;Pazar&quot;<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">);<\/span><\/div>\n<div style=\"background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<\/span><\/div>\n<\/div>\n<div style=\"background: none repeat scroll 0% 0% white;\">&nbsp;<\/div>\n<div style=\"background: none repeat scroll 0% 0% white;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">Program &ccedil;iktisi:<br \/>\n<span style=\"font-size: 12px;\" class=\"Apple-style-span\"><a href='www.yazilimmutfagi.com'>.<\/a><\/span><\/span><\/div>\n<div style=\"background: none repeat scroll 0% 0% white;\">&nbsp;<\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217);\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">Pazartesi<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217);\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">Sali<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217);\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&ccedil;arsamba<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217);\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">Persembe<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217);\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">Cuma<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217);\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">Cumartesi<\/span><\/div>\n<div style=\"background: none repeat scroll 0% 0% rgb(217, 217, 217);\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">Pazar<\/span><\/div>\n<div style=\"background: none repeat scroll 0% 0% white;\">&nbsp;<\/div>\n<div style=\"background: none repeat scroll 0% 0% white;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">Hi&ccedil; bir yerde kesinti (break) olmadigi i&ccedil;in 1&rsquo;den 7&rsquo;ye kadar olan b&uuml;t&uuml;n ihtimalleri ele aldi.<\/span><\/div>\n<div style=\"background: none repeat scroll 0% 0% white;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&Ouml;rnegin 3&rsquo;ten sonra bereak deseydik yalniz ilk &uuml;&ccedil; g&uuml;n&uuml; yazacakti:<\/span><\/div>\n<div style=\"background: none repeat scroll 0% 0% white;\">&nbsp;<\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217);\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">Pazartesi<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217);\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">Sali<\/span><\/div>\n<div style=\"background: none repeat scroll 0% 0% rgb(217, 217, 217);\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&ccedil;arsamba<\/span><\/div>\n<div style=\"background: none repeat scroll 0% 0% white;\">&nbsp;<\/div>\n<div style=\"background: none repeat scroll 0% 0% white;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">gibi.<\/span><\/div>\n<div style=\"background: none repeat scroll 0% 0% white;\">&nbsp;<\/div>\n<div style=\"background: none repeat scroll 0% 0% white;\">&nbsp;<\/div>\n<div style=\"background: none repeat scroll 0% 0% white;\"><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">Default<\/span><\/b><\/div>\n<div style=\"background: none repeat scroll 0% 0% white;\">&nbsp;<\/div>\n<div style=\"background: none repeat scroll 0% 0% white;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">Eger 7&rsquo;den daha b&uuml;y&uuml;k, mesela 10 gibi bir sayi girseydik ne olacakti? Case listesinde 10 olmadigi i&ccedil;in &ccedil;ikti olarak bos hi&ccedil; bir sey g&ouml;remeyecektik.<\/span><\/div>\n<div style=\"background: none repeat scroll 0% 0% white;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">Eger illa bir sonu&ccedil; g&ouml;rmek istiyorsak o zaman default&rsquo;u kullanmaliyiz.<\/span><\/div>\n<div style=\"background: none repeat scroll 0% 0% white;\">&nbsp;<\/div>\n<div style=\"border: 1pt solid windowtext; padding: 1pt 4pt; background: none repeat scroll 0% 0% rgb(217, 217, 217);\">\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">int<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\"> gunler=8;<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">switch<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">(gunler){<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">case<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\"> 1:<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.<\/span><i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192);\">out<\/span><\/i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">.println(<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);\">&quot;Pazartesi&quot;<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">case<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\"> 2:<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.<\/span><i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192);\">out<\/span><\/i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">.println(<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);\">&quot;Sali&quot;<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">);<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">case<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\"> 3:<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.<\/span><i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192);\">out<\/span><\/i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">.println(<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);\">&quot;&ccedil;arsamba&quot;<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">);<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">case<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\"> 4:<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.<\/span><i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192);\">out<\/span><\/i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">.println(<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);\">&quot;Persembe&quot;<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">);<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">case<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\"> 5:<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.<\/span><i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192);\">out<\/span><\/i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">.println(<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);\">&quot;Cuma&quot;<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">);<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">case<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\"> 6:<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.<\/span><i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192);\">out<\/span><\/i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">.println(<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);\">&quot;Cumartesi&quot;<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">);<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">case<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\"> 7:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.<\/span><i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192);\">out<\/span><\/i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">.println(<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);\">&quot;Pazar&quot;<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">);<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">default<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">:<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.<\/span><i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192);\">out<\/span><\/i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">.println(<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);\">&quot;Ge&ccedil;ersiz g&uuml;n numarasi!&quot;<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">);<\/span><\/div>\n<div style=\"background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">}<\/span><\/div>\n<\/div>\n<div style=\"background: none repeat scroll 0% 0% white;\">&nbsp;<\/div>\n<div style=\"background: none repeat scroll 0% 0% white;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">Program &ccedil;iktisi:<\/span><\/div>\n<div style=\"background: none repeat scroll 0% 0% rgb(217, 217, 217);\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">Ge&ccedil;ersiz g&uuml;n numarasi!<\/span><\/div>\n<div style=\"background: none repeat scroll 0% 0% white;\">&nbsp;<\/div>\n<div style=\"background: none repeat scroll 0% 0% white;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">Bir de s&ouml;yle degisik bir &ouml;rnek yapalim. Eger G&uuml;n numarasi 1&rsquo;den 5&rsquo;e kadar herhangi bir sayi ise &ldquo;Hafta i&ccedil;i&rdquo;, 6 veya 7 ise &ldquo;Hafta sonu&rdquo;, hi&ccedil; biri degilse &ldquo;Ge&ccedil;ersiz g&uuml;n numarasi&rdquo; &ccedil;iktisini alalim:<\/span><\/div>\n<div style=\"background: none repeat scroll 0% 0% white;\">&nbsp;<\/div>\n<div style=\"border: 1pt solid windowtext; padding: 1pt 4pt; background: none repeat scroll 0% 0% rgb(217, 217, 217);\">\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">int<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\"> gunler=5;<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">switch<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">(gunler){<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">case<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\"> 1:&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">case<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\"> 2:<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">case<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\"> 3:<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">case<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\"> 4:<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">case<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\"> 5:<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.<\/span><i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192);\">out<\/span><\/i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">.println(<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);\">&quot;Hafta i&ccedil;i&quot;<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">);<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">break<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">;<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">case<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\"> 6:<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">case<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\"> 7:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.<\/span><i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192);\">out<\/span><\/i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">.println(<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);\">&quot;Hafta sonu&quot;<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">);<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85);\">default<\/span><\/b><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">:<\/span><\/div>\n<div style=\"margin-bottom: 0.0001pt; line-height: normal; background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.<\/span><i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192);\">out<\/span><\/i><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">.println(<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);\">&quot;Ge&ccedil;ersiz g&uuml;n numarasi!&quot;<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">);<\/span><\/div>\n<div style=\"background: none repeat scroll 0% 0% rgb(217, 217, 217); border: medium none; padding: 0cm;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">}<\/span><\/div>\n<\/div>\n<div style=\"background: none repeat scroll 0% 0% white;\">&nbsp;<\/div>\n<div style=\"background: none repeat scroll 0% 0% white;\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">Program &ccedil;iktisi:<\/span><\/div>\n<div style=\"background: none repeat scroll 0% 0% rgb(217, 217, 217);\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;\">Hafta i&ccedil;i<br \/>\n<span style=\"font-size: 12px;\" class=\"Apple-style-span\"><a href='www.yazilimmutfagi.com'>.<\/a><\/span><\/span><\/div>","protected":false},"excerpt":{"rendered":"<p>Bir kiyaslama ve karar verme mekanizmasi olan switch case yapisinin java programlama dilinde nasil kullanildigini &#246;grenecegiz. <\/p>\n","protected":false},"author":519,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[419],"tags":[4196,4933,4584,5319],"_links":{"self":[{"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/posts\/229"}],"collection":[{"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/users\/519"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/comments?post=229"}],"version-history":[{"count":0,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/posts\/229\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/media?parent=229"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/categories?post=229"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/tags?post=229"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}