{"id":14155,"date":"2018-04-16T19:32:52","date_gmt":"2018-04-16T23:32:52","guid":{"rendered":"http:\/\/bangla.salearningschool.com\/recent-posts\/?p=14155"},"modified":"2018-04-16T19:32:52","modified_gmt":"2018-04-16T23:32:52","slug":"case-%e0%a6%8f%e0%a6%b0-%e0%a6%ac%e0%a7%8d%e0%a6%af%e0%a6%ac%e0%a6%b9%e0%a6%be%e0%a6%b0-example-use-of-case","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=14155","title":{"rendered":"case \u098f\u09b0 \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 . Example use of case"},"content":{"rendered":"<p>Example Output:<br \/>\n10 * 1 = 10<br \/>\n10 * 2 = 20<br \/>\n10 * 3 = 30<br \/>\n10 * 4 = 40<br \/>\n10 * 5 = 50<br \/>\n10 * 6 = 60<br \/>\n10 * 7 = 70<br \/>\n10 * 8 = 80<br \/>\n10 * 9 = 90<br \/>\n10 * 10 = 100<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p>#!\/bin\/bash<br \/>\nmulti()<br \/>\n{<br \/>\nclear<br \/>\nfor ((i=1;i<=10;i++));\ndo\necho \"$Y * $i = `expr $Y \\* $i`\"\ndone\n}\n\necho \"Enter your Number\"\nread X\n\ncase \"$X\" in\n\n1)\n\nY=1\nmulti\n;;\n\n2)\n\nY=2\nmulti\n;;\n\n3)\n\nY=3\nmulti\n;;\n\n4)\n\nY=4\nmulti\n;;\n\n5)\n\nY=5\nmulti\n;;\n\n6)\n\nY=6\nmulti\n;;\n\n7)\n\nY=7\nmulti\n;;\n\n8)\n\nY=8\nmulti\n;;\n\n9)\n\nY=9\nmulti\n;;\n\n10)\n\nY=10\nmulti\n;;\n\n\nesac\nexit\n\n\n\n\n\nOutput\n\n\n\n7 * 1 = 7\n7 * 2 = 14\n7 * 3 = 21\n7 * 4 = 28\n7 * 5 = 35\n7 * 6 = 42\n7 * 7 = 49\n7 * 8 = 56\n7 * 9 = 63\n7 * 10 = 70\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Example Output: 10 * 1 = 10 10 * 2 = 20 10 * 3 = 30 10 * 4 = 40 10 * 5 = 50 10 * 6 = 60 10 * 7 = 70 10 * 8 = 80 10 * 9 = 90 10 * 10 = 100 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- #!\/bin\/bash multi() &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"http:\/\/bangla.sitestree.com\/?p=14155\">Continue reading<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1888],"tags":[],"class_list":["post-14155","post","type-post","status-publish","format-standard","hentry","category---shell-programming","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":7124,"url":"http:\/\/bangla.sitestree.com\/?p=7124","url_meta":{"origin":14155,"position":0},"title":"\u099c\u09be\u09ad\u09be\u09b8\u09cd\u0995\u09cd\u09b0\u09bf\u09aa\u09cd\u099f \u09b8\u09c1\u0987\u099a \u09ac\u09bf\u09ac\u09c3\u09a4\u09bf (JavaScript Switch Statement in Bangla)","author":"Author-Check- Article-or-Video","date":"March 18, 2015","format":false,"excerpt":"\u09b6\u09b0\u09bf\u09ab\u09c1\u09b2 \u0987\u09b8\u09b2\u09be\u09ae Job category-Php Coder \u09ad\u09bf\u09a8\u09cd\u09a8 \u09ad\u09bf\u09a8\u09cd\u09a8 \u09b6\u09b0\u09cd\u09a4\u09c7 \u09ad\u09bf\u09a8\u09cd\u09a8 \u09ad\u09bf\u09a8\u09cd\u09a8 \u0995\u09be\u099c \u09aa\u09be\u09b0\u09ab\u09b0\u09cd\u09ae \u0995\u09b0\u09be\u09b0 \u099c\u09a8\u09cd\u09af \u098f\u0987 switch statement \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09be \u09b9\u09df\u0964 \u099c\u09be\u09ad\u09be\u09b8\u09cd\u0995\u09cd\u09b0\u09bf\u09aa\u09cd\u099f \u09b8\u09c1\u0987\u099a \u09ac\u09bf\u09ac\u09c3\u09a4\u09bf Switch statement \u098f\u09b0 \u09ae\u09be\u09a7\u09cd\u09af\u09ae\u09c7 \u0985\u09a8\u09c7\u0995\u0997\u09c1\u09b2\u09cb \u09ac\u09cd\u09b2\u0995 \u0995\u09cb\u09a1 \u09a5\u09c7\u0995\u09c7 \u09b6\u09b0\u09cd\u09a4 \u0985\u09a8\u09c1\u09af\u09be\u09df\u09c0 \u098f\u0995\u099f\u09bf \u0995\u09cb\u09a1 \u09aa\u099b\u09a8\u09cd\u09a6 \u0995\u09b0\u09ac\u09c7 \u098f\u09ac\u0982 \u09b8\u09c7 \u0985\u09a8\u09c1\u09af\u09be\u09df\u09c0 \u0995\u09be\u099c \u0995\u09b0\u09ac\u09c7 Syntax switch(expression) { \u00a0\u00a0\u00a0 case n: \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 code\u2026","rel":"","context":"In &quot;JavaScript&quot;","block_context":{"text":"JavaScript","link":"http:\/\/bangla.sitestree.com\/?cat=65"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":71344,"url":"http:\/\/bangla.sitestree.com\/?p=71344","url_meta":{"origin":14155,"position":1},"title":"Upper case bold letter &#8212; matrix or scalar or vector?","author":"Sayed","date":"October 3, 2021","format":false,"excerpt":"If you can, answer the question below: Write your answer in the comment box. Upper case bold letter -- matrix or scalar or vector?","rel":"","context":"In &quot;Matrix and Signal Processing&quot;","block_context":{"text":"Matrix and Signal Processing","link":"http:\/\/bangla.sitestree.com\/?cat=1944"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":71346,"url":"http:\/\/bangla.sitestree.com\/?p=71346","url_meta":{"origin":14155,"position":2},"title":"Upper case non-bold letter &#8212; matrix or scalar or vector?","author":"Sayed","date":"October 3, 2021","format":false,"excerpt":"If you can, answer the question below: Write your answer in the comment box. Upper case non-bold letter -- matrix or scalar or vector?","rel":"","context":"In &quot;Matrix and Signal Processing&quot;","block_context":{"text":"Matrix and Signal Processing","link":"http:\/\/bangla.sitestree.com\/?cat=1944"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4823,"url":"http:\/\/bangla.sitestree.com\/?p=4823","url_meta":{"origin":14155,"position":3},"title":"17. Case Study of Bangladeshi Freelancer, Outsourcing Bangla Tutorial Lesson 17, Freelancing Bangla","author":"Author-Check- Article-or-Video","date":"April 5, 2014","format":false,"excerpt":"17. Case Study of Bangladeshi Freelancer, Outsourcing Bangla Tutorial Lesson 17, Freelancing Bangla","rel":"","context":"In &quot;Complete Courses&quot;","block_context":{"text":"Complete Courses","link":"http:\/\/bangla.sitestree.com\/?cat=29"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14148,"url":"http:\/\/bangla.sitestree.com\/?p=14148","url_meta":{"origin":14155,"position":4},"title":"\u09b6\u09c7\u09b2 &#8211; case \u098f\u09b0 \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 ksh &#8211; \u098f\u0964 Example use of Case in KSH. Show Today&#8217;s Day Name","author":"Sayed","date":"April 15, 2018","format":false,"excerpt":"bash-3.2$ cat ksh_case_example_1.sh #!\/bin\/ksh #show today's day name DAY=`date +%a` #show value of $DAY echo $DAY #based on the value of the DAY variable show the day name in full format case \"$DAY\" in Mon) echo \"Monday\" ;; Tue) echo \"Tuesday\" ;; Wed) echo \"Wednesday\" ;; Thu) echo \"Thursday\" ;;\u2026","rel":"","context":"In &quot;\u09b6\u09c7\u09b2 \u09aa\u09cd\u09b0\u09cb\u0997\u09cd\u09b0\u09be\u09ae\u09bf\u0982 - Shell Programming&quot;","block_context":{"text":"\u09b6\u09c7\u09b2 \u09aa\u09cd\u09b0\u09cb\u0997\u09cd\u09b0\u09be\u09ae\u09bf\u0982 - Shell Programming","link":"http:\/\/bangla.sitestree.com\/?cat=1888"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":71358,"url":"http:\/\/bangla.sitestree.com\/?p=71358","url_meta":{"origin":14155,"position":5},"title":"In the above case, if x and y are vectors in S, Does x + y belong to S?","author":"Sayed","date":"October 3, 2021","format":false,"excerpt":"If you can, answer the question below: Write your answer in the comment box. In the above case, if x and y are vectors in S, Does x + y belong to S?","rel":"","context":"In &quot;Matrix and Signal Processing&quot;","block_context":{"text":"Matrix and Signal Processing","link":"http:\/\/bangla.sitestree.com\/?cat=1944"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/14155","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=14155"}],"version-history":[{"count":1,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/14155\/revisions"}],"predecessor-version":[{"id":14156,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/14155\/revisions\/14156"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14155"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14155"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14155"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}