{"id":36,"date":"2016-10-09T08:54:03","date_gmt":"2016-10-09T08:54:03","guid":{"rendered":"http:\/\/codeinsightacademy.com\/blog\/?p=36"},"modified":"2021-04-13T08:47:37","modified_gmt":"2021-04-13T08:47:37","slug":"switch-statement","status":"publish","type":"post","link":"https:\/\/codeinsightacademy.com\/blog\/c-programming\/switch-statement\/","title":{"rendered":"SWITCH Statement"},"content":{"rendered":"<ol>\n<li>WAP to read a single digit number and print that number in words.<\/li>\n<li>WAP to read month in digits print it in words.<\/li>\n<li>WAP to read a single number and print all numbers from 1 to that number in words.<\/li>\n<li>WAP to read a color code (char value) and print appropriate color.<br \/>\n(e.g. R &#8211; Red, G- Green, B-Blue and other char &#8211; Black)<\/li>\n<li>WAP to read 2 numbers and a Operator sign and perform the operation according to operator.<br \/>\n(e.g.<br \/>\ni\/p:<br \/>\n5<br \/>\n7<br \/>\n+<\/li>\n<\/ol>\n<p>5+7=12<br \/>\n)<\/p>\n<ul>\n<li>WAP to count total number of vowels in a string by using a switch statement<\/li>\n<li>WAP to count total number of vowels of each type<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>WAP to read a single digit number and print that number in words. WAP to read month in digits print it in words. WAP to read a single number and print all numbers from 1 to that number in words. WAP to read a color code (char value) and print appropriate color. (e.g. R &#8211; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1,3,18,4],"tags":[],"_links":{"self":[{"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/posts\/36"}],"collection":[{"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/comments?post=36"}],"version-history":[{"count":2,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/posts\/36\/revisions"}],"predecessor-version":[{"id":397,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/posts\/36\/revisions\/397"}],"wp:attachment":[{"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/media?parent=36"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/categories?post=36"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/tags?post=36"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}