{"id":14161,"date":"2018-04-16T20:57:15","date_gmt":"2018-04-17T00:57:15","guid":{"rendered":"http:\/\/bangla.salearningschool.com\/recent-posts\/?p=14161"},"modified":"2018-04-16T20:57:15","modified_gmt":"2018-04-17T00:57:15","slug":"case-%e0%a6%8f%e0%a6%b0-%e0%a6%86%e0%a6%b0-%e0%a6%8f%e0%a6%95%e0%a6%9f%e0%a6%bf-%e0%a6%89%e0%a6%a6%e0%a6%be%e0%a6%b9%e0%a6%b0%e0%a6%a3","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=14161","title":{"rendered":"case \u098f\u09b0 \u0986\u09b0 \u098f\u0995\u099f\u09bf \u0989\u09a6\u09be\u09b9\u09b0\u09a3"},"content":{"rendered":"<p>Output First<\/p>\n<p>bash-3.2$ .\/ksh_case_chart.sh<br \/>\nEnter your Number<br \/>\n9<br \/>\n9 * 1 = 9<br \/>\n9 * 2 = 18<br \/>\n9 * 3 = 27<br \/>\n9 * 4 = 36<br \/>\n9 * 5 = 45<br \/>\n9 * 6 = 54<br \/>\n9 * 7 = 63<br \/>\n9 * 8 = 72<br \/>\n9 * 9 = 81<br \/>\n9 * 10 = 90<\/p>\n<p>&#8212;-<br \/>\n\u0995\u09cb\u09a1<\/p>\n<p>#!\/bin\/ksh<\/p>\n<p>#example on how to use case and for loop<\/p>\n<p>multi()<br \/>\n{<br \/>\n#clear<br \/>\nfor i in 1 2 3 4 5 6 7 8 9 10<br \/>\ndo<br \/>\necho &#8220;$Y * $i = `expr $Y \\* $i`&#8221;<br \/>\ndone<br \/>\n}<\/p>\n<p>#take a number from the user ( 1..10)<br \/>\necho &#8220;Enter your Number&#8221;<br \/>\nread X<\/p>\n<p>case &#8220;$X&#8221; in<\/p>\n<p>1)<br \/>\nY=1<br \/>\nmulti<br \/>\n;;<\/p>\n<p>2)<br \/>\nY=2<br \/>\nmulti<br \/>\n;;<\/p>\n<p>3)<br \/>\nY=3<br \/>\nmulti<br \/>\n;;<\/p>\n<p>4)<br \/>\nY=4<br \/>\nmulti<br \/>\n;;<\/p>\n<p>5)<br \/>\nY=5<br \/>\nmulti<br \/>\n;;<\/p>\n<p>6)<br \/>\nY=6<br \/>\nmulti<br \/>\n;;<\/p>\n<p>7)<br \/>\nY=7<br \/>\nmulti<br \/>\n;;<\/p>\n<p>8)<br \/>\nY=8<br \/>\nmulti<br \/>\n;;<\/p>\n<p>9)<br \/>\nY=9<br \/>\nmulti<br \/>\n;;<\/p>\n<p>10)<br \/>\nY=10<br \/>\nmulti<br \/>\n;;<\/p>\n<p>esac<br \/>\nexit<\/p>\n<p>&#8212;&#8211;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Output First bash-3.2$ .\/ksh_case_chart.sh Enter your Number 9 9 * 1 = 9 9 * 2 = 18 9 * 3 = 27 9 * 4 = 36 9 * 5 = 45 9 * 6 = 54 9 * 7 = 63 9 * 8 = 72 9 * 9 = 81 9 * &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"http:\/\/bangla.sitestree.com\/?p=14161\">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":[182],"tags":[],"class_list":["post-14161","post","type-post","status-publish","format-standard","hentry","category---blog","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":65710,"url":"http:\/\/bangla.sitestree.com\/?p=65710","url_meta":{"origin":14161,"position":0},"title":"Another Example of Case and For Loop #Linux\/Unix: Shell Programming &#8211; 001","author":"Author-Check- Article-or-Video","date":"July 12, 2021","format":false,"excerpt":"Output First bash-3.2$ .\/ksh_case_chart.sh Enter your Number 9 9 * 1 = 9 9 * 2 = 18 9 * 3 = 27 9 * 4 = 36 9 * 5 = 45 9 * 6 = 54 9 * 7 = 63 9 * 8 = 72 9 *\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14157,"url":"http:\/\/bangla.sitestree.com\/?p=14157","url_meta":{"origin":14161,"position":1},"title":"case \u098f\u09b0 \u0985\u09a8\u09cd\u09af \u098f\u0995\u099f\u09bf  \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 . Example use of case","author":"Sayed","date":"April 16, 2018","format":false,"excerpt":"\u09ab\u09b2\u09be\u09ab\u09b2 bash-3.2$ .\/ksh_case_chart.sh Enter your Number 9 9 * 1 = 9 9 * 2 = 18 9 * 3 = 27 9 * 4 = 36 9 * 5 = 45 9 * 6 = 54 9 * 7 = 63 9 * 8 = 72 9 * 9\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":65697,"url":"http:\/\/bangla.sitestree.com\/?p=65697","url_meta":{"origin":14161,"position":2},"title":"Example use of case #Linux\/Unix: Shell Programming &#8211; 001","author":"Author-Check- Article-or-Video","date":"July 11, 2021","format":false,"excerpt":"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\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":12164,"url":"http:\/\/bangla.sitestree.com\/?p=12164","url_meta":{"origin":14161,"position":3},"title":"Creating a multi language blog using WordPress","author":"Sayed","date":"January 10, 2016","format":false,"excerpt":"Creating a multi language blog using Wordpress","rel":"","context":"In &quot;Root&quot;","block_context":{"text":"Root","link":"http:\/\/bangla.sitestree.com\/?cat=1"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":13737,"url":"http:\/\/bangla.sitestree.com\/?p=13737","url_meta":{"origin":14161,"position":4},"title":"CS101 &#8211; Discrete Mathematics &#8211; Negation of Multi Variable Quantifier","author":"Author-Check- Article-or-Video","date":"November 1, 2017","format":false,"excerpt":"Discrete Mathematics Week 02 Lecture 01 - Negation of Multi Variable Quantifier https:\/\/discrete-math.appspot.com\/ \u09ac\u09bf\u099a\u09cd\u099b\u09bf\u09a8\u09cd\u09a8 \u0997\u09a3\u09bf\u09a4 \u09a6\u09cd\u09ac\u09bf\u09a4\u09c0\u09df \u09b8\u09aa\u09cd\u09a4\u09be\u09b9 \u09b2\u09c7\u0995\u099a\u09be\u09b0 \u09e6\u09e7 - \u09a8\u09c7\u0997\u09c7\u09b6\u09a8 \u0985\u09ac \u09ae\u09be\u09b2\u09cd\u099f\u09bf \u09ad\u09cd\u09af\u09be\u09b0\u09bf\u09df\u09c7\u09ac\u09b2 \u0995\u09cb\u09df\u09be\u09a8\u09cd\u099f\u09bf\u09ab\u09be\u09df\u09be\u09b0 Click Here to Order your copy of the DVD: http:\/\/bit.ly\/DiscreteMathDVD","rel":"","context":"In &quot;Misc Computing&quot;","block_context":{"text":"Misc Computing","link":"http:\/\/bangla.sitestree.com\/?cat=1884"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":13735,"url":"http:\/\/bangla.sitestree.com\/?p=13735","url_meta":{"origin":14161,"position":5},"title":"CS101 &#8211; Discrete Mathematics &#8211; Multi Variable Propositional Function","author":"Author-Check- Article-or-Video","date":"November 1, 2017","format":false,"excerpt":"Discrete Mathematics Week 01 - Introduction Lecture 06 - Multi Variable Propositional Function https:\/\/discrete-math.appspot.com\/ \u09ac\u09bf\u099a\u09cd\u099b\u09bf\u09a8\u09cd\u09a8 \u0997\u09a3\u09bf\u09a4 \u09aa\u09cd\u09b0\u09a5\u09ae \u09b8\u09aa\u09cd\u09a4\u09be\u09b9 - \u09b8\u09c2\u099a\u09a8\u09be \u09b2\u09c7\u0995\u099a\u09be\u09b0 \u09e6\u09ec - \u09ae\u09be\u09b2\u09cd\u099f\u09bf \u09ad\u09cd\u09af\u09be\u09b0\u09bf\u09df\u09c7\u09ac\u09b2 \u09aa\u09cd\u09b0\u09cb\u09aa\u09cb\u099c\u09bf\u09b8\u09a8\u09be\u09b2 \u09ab\u09be\u0982\u09b6\u09a8 Click Here to Order your copy of the DVD: http:\/\/bit.ly\/DiscreteMathDVD","rel":"","context":"In &quot;Misc Computing&quot;","block_context":{"text":"Misc Computing","link":"http:\/\/bangla.sitestree.com\/?cat=1884"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2017\/11\/hqdefault-8.jpg?fit=480%2C360&resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/14161","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=14161"}],"version-history":[{"count":1,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/14161\/revisions"}],"predecessor-version":[{"id":14162,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/14161\/revisions\/14162"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14161"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14161"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}