<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Java program to find whether given no. is Armstrong or not	</title>
	<atom:link href="https://studentprojects.in/software-development/java/java-programs/basic/java-program-find-armstrong/feed/" rel="self" type="application/rss+xml" />
	<link>https://studentprojects.in/software-development/java/java-programs/basic/java-program-find-armstrong/</link>
	<description>Microcontroller projects, Circuit Diagrams, Project Ideas</description>
	<lastBuildDate>Sun, 23 Aug 2015 08:19:58 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.7</generator>
	<item>
		<title>
		By: Sanjukta		</title>
		<link>https://studentprojects.in/software-development/java/java-programs/basic/java-program-find-armstrong/comment-page-1/#comment-125993</link>

		<dc:creator><![CDATA[Sanjukta]]></dc:creator>
		<pubDate>Sun, 23 Aug 2015 08:19:58 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=1339#comment-125993</guid>

					<description><![CDATA[Another way to check if a number is an Armstrong number by taking user input...

package com.practice.java;

import java.util.Scanner;

class Armstrong{
	public static void main(String args[]){
		System.out.println(&quot;Enter a number&quot;);
		
		Scanner sc = new Scanner(System.in);
		String a = sc.nextLine();
		int size = a.length();
		
		System.out.println(&quot;Length of the input number is = &quot; + size);
					
		int num = Integer.parseInt(a);
		int n = num; 
		int check=0,remainder;
		
		while(num &#062; 0){
			remainder = num % 10;
			check = check + (int)Math.pow(remainder,size);
			num = num / 10;
		}
		if(check == n)
			System.out.println(n+&quot; is an Armstrong Number&quot;);
		else
			System.out.println(n+&quot; is not an Armstrong Number&quot;);
		
		sc.close();
	}
}]]></description>
			<content:encoded><![CDATA[<p>Another way to check if a number is an Armstrong number by taking user input&#8230;</p>
<p>package com.practice.java;</p>
<p>import java.util.Scanner;</p>
<p>class Armstrong{<br />
	public static void main(String args[]){<br />
		System.out.println(&#8220;Enter a number&#8221;);</p>
<p>		Scanner sc = new Scanner(System.in);<br />
		String a = sc.nextLine();<br />
		int size = a.length();</p>
<p>		System.out.println(&#8220;Length of the input number is = &#8221; + size);</p>
<p>		int num = Integer.parseInt(a);<br />
		int n = num;<br />
		int check=0,remainder;</p>
<p>		while(num &gt; 0){<br />
			remainder = num % 10;<br />
			check = check + (int)Math.pow(remainder,size);<br />
			num = num / 10;<br />
		}<br />
		if(check == n)<br />
			System.out.println(n+&#8221; is an Armstrong Number&#8221;);<br />
		else<br />
			System.out.println(n+&#8221; is not an Armstrong Number&#8221;);</p>
<p>		sc.close();<br />
	}<br />
}</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: NIRAJ		</title>
		<link>https://studentprojects.in/software-development/java/java-programs/basic/java-program-find-armstrong/comment-page-1/#comment-116774</link>

		<dc:creator><![CDATA[NIRAJ]]></dc:creator>
		<pubDate>Wed, 08 Jul 2015 08:20:03 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=1339#comment-116774</guid>

					<description><![CDATA[simple version of checking Armstrong here http://www.javaengineeringprograms.com/program-to-check-armstrong-number-in-java/]]></description>
			<content:encoded><![CDATA[<p>simple version of checking Armstrong here <a href="http://www.javaengineeringprograms.com/program-to-check-armstrong-number-in-java/" rel="nofollow ugc">http://www.javaengineeringprograms.com/program-to-check-armstrong-number-in-java/</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sandeep		</title>
		<link>https://studentprojects.in/software-development/java/java-programs/basic/java-program-find-armstrong/comment-page-1/#comment-102927</link>

		<dc:creator><![CDATA[Sandeep]]></dc:creator>
		<pubDate>Tue, 12 May 2015 06:45:25 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=1339#comment-102927</guid>

					<description><![CDATA[http://javainterviewcracker.blogspot.in/]]></description>
			<content:encoded><![CDATA[<p><a href="http://javainterviewcracker.blogspot.in/" rel="nofollow ugc">http://javainterviewcracker.blogspot.in/</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Suhail		</title>
		<link>https://studentprojects.in/software-development/java/java-programs/basic/java-program-find-armstrong/comment-page-1/#comment-101685</link>

		<dc:creator><![CDATA[Suhail]]></dc:creator>
		<pubDate>Thu, 07 May 2015 07:08:35 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=1339#comment-101685</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://studentprojects.in/software-development/java/java-programs/basic/java-program-find-armstrong/comment-page-1/#comment-70893&quot;&gt;rohan&lt;/a&gt;.

public class Ams {

	 public static void accept(int no){
		
		 int p=no,rem,s=0;
		do
		{
			rem=p%10;
		s=s*10+rem;
		p=p/10;
		}
		while(p!=0);
		if(s==no)
		System.out.println(&quot;it is an ams&quot;);
			else
		System.out.println(&quot;not ams&quot;);
		}
	}

}]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://studentprojects.in/software-development/java/java-programs/basic/java-program-find-armstrong/comment-page-1/#comment-70893">rohan</a>.</p>
<p>public class Ams {</p>
<p>	 public static void accept(int no){</p>
<p>		 int p=no,rem,s=0;<br />
		do<br />
		{<br />
			rem=p%10;<br />
		s=s*10+rem;<br />
		p=p/10;<br />
		}<br />
		while(p!=0);<br />
		if(s==no)<br />
		System.out.println(&#8220;it is an ams&#8221;);<br />
			else<br />
		System.out.println(&#8220;not ams&#8221;);<br />
		}<br />
	}</p>
<p>}</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: rohan		</title>
		<link>https://studentprojects.in/software-development/java/java-programs/basic/java-program-find-armstrong/comment-page-1/#comment-70893</link>

		<dc:creator><![CDATA[rohan]]></dc:creator>
		<pubDate>Wed, 14 Jan 2015 16:57:41 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=1339#comment-70893</guid>

					<description><![CDATA[class armstrong
{public static void accept(int no)
    {int p=no,rem,s=0;
        do
        {rem=p%10;
            s=s*10+rem;
            p=p/10;
        }
        while(p!=0);
        if(s==no)
        System.out.println(&quot;it is an armstrong&quot;);
        else
        System.out.println(&quot;it is not an armstrong&quot;);
    }}
        
        what is the error in it could anyone please reply]]></description>
			<content:encoded><![CDATA[<p>class armstrong<br />
{public static void accept(int no)<br />
    {int p=no,rem,s=0;<br />
        do<br />
        {rem=p%10;<br />
            s=s*10+rem;<br />
            p=p/10;<br />
        }<br />
        while(p!=0);<br />
        if(s==no)<br />
        System.out.println(&#8220;it is an armstrong&#8221;);<br />
        else<br />
        System.out.println(&#8220;it is not an armstrong&#8221;);<br />
    }}</p>
<p>        what is the error in it could anyone please reply</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Pavan Kumar		</title>
		<link>https://studentprojects.in/software-development/java/java-programs/basic/java-program-find-armstrong/comment-page-1/#comment-59667</link>

		<dc:creator><![CDATA[Pavan Kumar]]></dc:creator>
		<pubDate>Sat, 13 Dec 2014 16:00:23 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=1339#comment-59667</guid>

					<description><![CDATA[See this link it would be helpful ..
http://www.techycage.com/2014/12/program-to-chech-wheather-number-is.html]]></description>
			<content:encoded><![CDATA[<p>See this link it would be helpful ..<br />
<a href="http://www.techycage.com/2014/12/program-to-chech-wheather-number-is.html" rel="nofollow ugc">http://www.techycage.com/2014/12/program-to-chech-wheather-number-is.html</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Pavan Kumar		</title>
		<link>https://studentprojects.in/software-development/java/java-programs/basic/java-program-find-armstrong/comment-page-1/#comment-59665</link>

		<dc:creator><![CDATA[Pavan Kumar]]></dc:creator>
		<pubDate>Sat, 13 Dec 2014 15:59:26 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=1339#comment-59665</guid>

					<description><![CDATA[This link can help you ...]]></description>
			<content:encoded><![CDATA[<p>This link can help you &#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: devil		</title>
		<link>https://studentprojects.in/software-development/java/java-programs/basic/java-program-find-armstrong/comment-page-1/#comment-46055</link>

		<dc:creator><![CDATA[devil]]></dc:creator>
		<pubDate>Thu, 06 Nov 2014 02:17:04 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=1339#comment-46055</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://studentprojects.in/software-development/java/java-programs/basic/java-program-find-armstrong/comment-page-1/#comment-9862&quot;&gt;googzy&lt;/a&gt;.

you are stupid to search on this worst wrong site]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://studentprojects.in/software-development/java/java-programs/basic/java-program-find-armstrong/comment-page-1/#comment-9862">googzy</a>.</p>
<p>you are stupid to search on this worst wrong site</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: devil		</title>
		<link>https://studentprojects.in/software-development/java/java-programs/basic/java-program-find-armstrong/comment-page-1/#comment-46054</link>

		<dc:creator><![CDATA[devil]]></dc:creator>
		<pubDate>Thu, 06 Nov 2014 02:15:57 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=1339#comment-46054</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://studentprojects.in/software-development/java/java-programs/basic/java-program-find-armstrong/comment-page-1/#comment-9862&quot;&gt;googzy&lt;/a&gt;.

you&#039;re right java programs can easily be printed using if else the coding is at website www.fuckjava.com]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://studentprojects.in/software-development/java/java-programs/basic/java-program-find-armstrong/comment-page-1/#comment-9862">googzy</a>.</p>
<p>you&#8217;re right java programs can easily be printed using if else the coding is at website <a href="http://www.fuckjava.com" rel="nofollow ugc">http://www.fuckjava.com</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Google		</title>
		<link>https://studentprojects.in/software-development/java/java-programs/basic/java-program-find-armstrong/comment-page-1/#comment-46053</link>

		<dc:creator><![CDATA[Google]]></dc:creator>
		<pubDate>Thu, 06 Nov 2014 02:13:44 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=1339#comment-46053</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://studentprojects.in/software-development/java/java-programs/basic/java-program-find-armstrong/comment-page-1/#comment-9862&quot;&gt;googzy&lt;/a&gt;.

you&#039;re right java programs can easily be printed using if else]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://studentprojects.in/software-development/java/java-programs/basic/java-program-find-armstrong/comment-page-1/#comment-9862">googzy</a>.</p>
<p>you&#8217;re right java programs can easily be printed using if else</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
