{"id":278,"date":"2020-09-17T04:47:35","date_gmt":"2020-09-17T04:47:35","guid":{"rendered":"https:\/\/rubalsolutions.com\/?p=278"},"modified":"2020-09-17T04:54:38","modified_gmt":"2020-09-17T04:54:38","slug":"popular-c-program-check-armstrong-number-in-c","status":"publish","type":"post","link":"https:\/\/rubalsolutions.com\/index.php\/2020\/09\/17\/popular-c-program-check-armstrong-number-in-c\/","title":{"rendered":"Popular C Program \u2013 Check Armstrong Number in C"},"content":{"rendered":"<prepostseo>\n<p>Listening of Armstrong Number first of all comes what&#8217;s Armstrong number. Armstrong Number is a special number that is equal to sum of cubes of its own digits for example 153 , 407 and so on&#8230;<\/p>\n\n\n\n<p>C Language is Basic Language .. Many Advanced Language have come still if u can understand basic language carefully u can do all other languages in easy way. So here is our efforts of giving programs which are well executed in our Rubal Solutions Server and confirm to be running successfully. we have our c programming full tutorial on rubal solutions you tube channel. u can learn theory and practical\u2019s from there \u2026 ask any queries if needed.<\/p>\n\n\n\n<p>Let&#8217;s Check <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>153 = (1*1*1)+(5*5*5)+(3*3*3)  \nwhere:  \n(1*1*1)=1  \n(5*5*5)=125  \n(3*3*3)=27  \nSo:  \n1+125+27=153 <\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;stdio.h>\nint main()\n{\nprintf(\"Welcome to Rubal Solutions\\n\\n\");\nprintf(\"Do Like Comment Share and Subscribe To Our Youtube Channel\\n\\n\");\nint n,r,sum=0,temp;    \nprintf(\"enter the number=\");    \nscanf(\"%d\",&amp;n);    \ntemp=n;    \nwhile(n>0)    \n{    \nr=n%10;    \nsum=sum+(r*r*r);    \nn=n\/10;    \n}    \nif(temp==sum)    \nprintf(\"%d is armstrong  number\",temp);    \nelse    \nprintf(\"%d is not armstrong number\",temp);    \n \nreturn 0;\n}<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"335\" src=\"https:\/\/i0.wp.com\/rubalsolutions.com\/wp-content\/uploads\/2020\/09\/arm1.png?resize=640%2C335&#038;ssl=1\" alt=\"\" class=\"wp-image-279\" srcset=\"https:\/\/i0.wp.com\/rubalsolutions.com\/wp-content\/uploads\/2020\/09\/arm1.png?w=877&amp;ssl=1 877w, https:\/\/i0.wp.com\/rubalsolutions.com\/wp-content\/uploads\/2020\/09\/arm1.png?resize=300%2C157&amp;ssl=1 300w, https:\/\/i0.wp.com\/rubalsolutions.com\/wp-content\/uploads\/2020\/09\/arm1.png?resize=768%2C402&amp;ssl=1 768w, https:\/\/i0.wp.com\/rubalsolutions.com\/wp-content\/uploads\/2020\/09\/arm1.png?resize=800%2C419&amp;ssl=1 800w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" data-recalc-dims=\"1\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"329\" src=\"https:\/\/i0.wp.com\/rubalsolutions.com\/wp-content\/uploads\/2020\/09\/arm2.png?resize=640%2C329&#038;ssl=1\" alt=\"\" class=\"wp-image-280\" srcset=\"https:\/\/i0.wp.com\/rubalsolutions.com\/wp-content\/uploads\/2020\/09\/arm2.png?w=958&amp;ssl=1 958w, https:\/\/i0.wp.com\/rubalsolutions.com\/wp-content\/uploads\/2020\/09\/arm2.png?resize=300%2C154&amp;ssl=1 300w, https:\/\/i0.wp.com\/rubalsolutions.com\/wp-content\/uploads\/2020\/09\/arm2.png?resize=768%2C395&amp;ssl=1 768w, https:\/\/i0.wp.com\/rubalsolutions.com\/wp-content\/uploads\/2020\/09\/arm2.png?resize=800%2C412&amp;ssl=1 800w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" data-recalc-dims=\"1\" \/><\/figure>\n<div class=\"pvc_clear\"><\/div><p class=\"pvc_stats all \" data-element-id=\"278\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> &nbsp;2,133&nbsp;total views, &nbsp;3&nbsp;views today<\/p><div class=\"pvc_clear\"><\/div><\/prepostseo>","protected":false},"excerpt":{"rendered":"<p>Listening of Armstrong Number first of all comes what&#8217;s Armstrong number. Armstrong Number is a special number that is equal to sum of cubes of its own digits for example 153 , 407 and so on&#8230; C Language is Basic Language .. Many Advanced Language have come still if u can understand basic language carefully&#8230;<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p class=\"pvc_stats all \" data-element-id=\"278\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> &nbsp;2,133&nbsp;total views, &nbsp;3&nbsp;views today<\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[55],"tags":[],"class_list":["post-278","post","type-post","status-publish","format-standard","hentry","category-coder-rubal-solutions"],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":273,"url":"https:\/\/rubalsolutions.com\/index.php\/2020\/09\/17\/popular-c-program-reverse-number-in-c\/","url_meta":{"origin":278,"position":0},"title":"Popular C Program &#8211; Reverse Number in C","date":"September 17, 2020","format":false,"excerpt":"C Language is Basic Language .. Many Advanced Language have come still if u can understand basic language carefully u can do all other languages in easy way. So here is our efforts of giving programs which are well executed in our Rubal Solutions Server and confirm to be running\u2026","rel":"","context":"In &quot;Coder Rubal Solutions&quot;","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/rubalsolutions.com\/wp-content\/uploads\/2020\/09\/1-3.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":263,"url":"https:\/\/rubalsolutions.com\/index.php\/2020\/09\/11\/popular-c-program-factorial-in-c\/","url_meta":{"origin":278,"position":1},"title":"Popular C Program \u2013 Factorial in C","date":"September 11, 2020","format":false,"excerpt":"C Language is Basic Language .. Many Advanced Language have come still if u can understand basic language carefully u can do all other languages in easy way. So here is our efforts of giving programs which are well executed in our Rubal Solutions Server and confirm to be running\u2026","rel":"","context":"In &quot;Coder Rubal Solutions&quot;","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/rubalsolutions.com\/wp-content\/uploads\/2020\/09\/1-2.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":382,"url":"https:\/\/rubalsolutions.com\/index.php\/2020\/12\/22\/popular-c-program-sum-of-digits-in-c\/","url_meta":{"origin":278,"position":2},"title":"Popular C Program \u2013 Sum of Digits in C","date":"December 22, 2020","format":false,"excerpt":"Sum of Digits Will be figured when a user puts a piece or piece then our program will split the piece and gives us the sum as output.In this modulus operator will subsist used to hold reminder and then observe adding to a short-term number and so on \u2026 and\u2026","rel":"","context":"In &quot;Coder Rubal Solutions&quot;","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/rubalsolutions.com\/wp-content\/uploads\/2020\/12\/Capture1.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":229,"url":"https:\/\/rubalsolutions.com\/index.php\/2020\/09\/03\/popular-c-program-fibonacci-series-in-c\/","url_meta":{"origin":278,"position":3},"title":"Popular C Program &#8211; Fibonacci Series in C","date":"September 3, 2020","format":false,"excerpt":"C Language is Basic Language .. Many Advanced Language have come still if u can understand basic language carefully u can do all other languages in easy way. So here is our efforts of giving programs which are well executed in our Rubal Solutions Server and confirm to be running\u2026","rel":"","context":"In &quot;Coder Rubal Solutions&quot;","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/rubalsolutions.com\/wp-content\/uploads\/2020\/09\/1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":248,"url":"https:\/\/rubalsolutions.com\/index.php\/2020\/09\/07\/popular-c-program-prime-number-in-c\/","url_meta":{"origin":278,"position":4},"title":"Popular C Program &#8211; Prime Number in C","date":"September 7, 2020","format":false,"excerpt":"","rel":"","context":"Similar post","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/rubalsolutions.com\/wp-content\/uploads\/2020\/09\/pn1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":316,"url":"https:\/\/rubalsolutions.com\/index.php\/2020\/10\/17\/watch-footprints-in-the-sand-a-beautiful-poem-written-by-author-mary-narrated-by-rubal-solutions-here-on-youtube\/","url_meta":{"origin":278,"position":5},"title":"Watch &#8220;Footprints in the Sand a beautiful poem written by Author Mary .Narrated By Rubal Solutions Here .&#8221; on YouTube","date":"October 17, 2020","format":false,"excerpt":"https:\/\/youtu.be\/TIEdpemeokw God Always With Us","rel":"","context":"Similar post","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/rubalsolutions.com\/index.php\/wp-json\/wp\/v2\/posts\/278","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rubalsolutions.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rubalsolutions.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rubalsolutions.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rubalsolutions.com\/index.php\/wp-json\/wp\/v2\/comments?post=278"}],"version-history":[{"count":3,"href":"https:\/\/rubalsolutions.com\/index.php\/wp-json\/wp\/v2\/posts\/278\/revisions"}],"predecessor-version":[{"id":283,"href":"https:\/\/rubalsolutions.com\/index.php\/wp-json\/wp\/v2\/posts\/278\/revisions\/283"}],"wp:attachment":[{"href":"https:\/\/rubalsolutions.com\/index.php\/wp-json\/wp\/v2\/media?parent=278"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rubalsolutions.com\/index.php\/wp-json\/wp\/v2\/categories?post=278"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rubalsolutions.com\/index.php\/wp-json\/wp\/v2\/tags?post=278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}