tag:blogger.com,1999:blog-3063941734768192839.post675983550502757313..comments2024-03-29T12:49:28.034+05:30Comments on Computer Programming And Technology For Dummies: C program to toggle nth bitCProgrammerhttp://www.blogger.com/profile/17633481395209852801noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-3063941734768192839.post-92177077913478141502015-09-11T23:08:04.503+05:302015-09-11T23:08:04.503+05:30Hi, Your code is not correct :
13th line in your c...Hi, Your code is not correct :<br />13th line in your code should be -<br /> result = value ^ (1 << (n-1));<br /><br />According to your code toggle one next it than actual input...Stock Market Learninghttps://www.blogger.com/profile/14493342741694770252noreply@blogger.comtag:blogger.com,1999:blog-3063941734768192839.post-17413254550139627762015-09-11T22:21:01.369+05:302015-09-11T22:21:01.369+05:30Write a C program to add all "special cube nu...Write a C program to add all "special cube numbers" between 2 intervals of numbers specified.<br /><br />Constraints :<br />A positive integer is called a "Special cube number" if the sum of cubes of individual digit is equal to that number itself. For example:<br />153 =1*1*1+ 5*5*5 + 3*3*3 //153 is a "special cube number".<br />12 is not equal to 1*1*1+2*2*2 // 12 is not a "special cube number".<br /><br />Sample Input:<br />100<br />409<br /><br />Sample Output:<br />894<br /><br />http://cdynamicprogramming.blogspot.in/p/write-c-program-to-add-all-special-cube.html<br />Stock Market Learninghttps://www.blogger.com/profile/14493342741694770252noreply@blogger.comtag:blogger.com,1999:blog-3063941734768192839.post-41895409685515019062015-09-11T22:17:52.577+05:302015-09-11T22:17:52.577+05:30This comment has been removed by the author.Stock Market Learninghttps://www.blogger.com/profile/14493342741694770252noreply@blogger.com