{"id":38,"date":"2016-10-09T08:56:54","date_gmt":"2016-10-09T08:56:54","guid":{"rendered":"http:\/\/codeinsightacademy.com\/blog\/?p=38"},"modified":"2021-04-13T08:49:13","modified_gmt":"2021-04-13T08:49:13","slug":"functions","status":"publish","type":"post","link":"https:\/\/codeinsightacademy.com\/blog\/c-programming\/functions\/","title":{"rendered":"FUNCTIONS"},"content":{"rendered":"<ol>\n<li>WAF repeat to display a char specified no of times.<\/li>\n<li>WAF intrest to calculate simple intrest.<\/li>\n<li>WAF to return Volume of Sphere<\/li>\n<li>WAF to return mean of 3 numbers<\/li>\n<li>WAF to return greatest of 2 numbers<\/li>\n<li>WAF to return Factorial of given Number<\/li>\n<li>WAF to return Sum of Given Number.<\/li>\n<li>WAF to return Greatest of 3 numbers.<\/li>\n<li>WAF to print all numbers from 1 to given numbers<\/li>\n<li>WAF to repeat a given char given number of timest.<br \/>\ne.g. repeat(&#8216;#&#8217;, 25)<\/li>\n<li>Design a recursive function factorial to return factorial of given number.<\/li>\n<li>Design a recursive function&nbsp;intrest&nbsp;to return compound intrest.<\/li>\n<li>Design a recursive function SOD to return sum of digit of given number.<\/li>\n<li>\n<div>WAF to return sum of number which is passed in a Array.<\/div>\n<\/li>\n<li>\n<div>WAF to return Mean of numbers which is passed in a Array.<\/div>\n<\/li>\n<li>\n<div>WAF to return Greatest number which is passed in a Array.<\/div>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>WAF repeat to display a char specified no of times. WAF intrest to calculate simple intrest. WAF to return Volume of Sphere WAF to return mean of 3 numbers WAF to return greatest of 2 numbers WAF to return Factorial of given Number WAF to return Sum of Given Number. WAF to return Greatest of [&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,9],"tags":[],"_links":{"self":[{"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/posts\/38"}],"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=38"}],"version-history":[{"count":3,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/posts\/38\/revisions"}],"predecessor-version":[{"id":1174,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/posts\/38\/revisions\/1174"}],"wp:attachment":[{"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/media?parent=38"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/categories?post=38"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/tags?post=38"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}