<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>sum of product | Student Projects</title>
	<atom:link href="https://studentprojects.in/tag/sum-of-product/feed/" rel="self" type="application/rss+xml" />
	<link>https://studentprojects.in</link>
	<description>Microcontroller projects, Circuit Diagrams, Project Ideas</description>
	<lastBuildDate>Fri, 04 Feb 2011 10:52:30 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.7</generator>
	<item>
		<title>Java program to find SUM AND PRODUCT of a given Digit.</title>
		<link>https://studentprojects.in/software-development/java/java-programs/basic/java-program-find-sum-product-digit/</link>
					<comments>https://studentprojects.in/software-development/java/java-programs/basic/java-program-find-sum-product-digit/#comments</comments>
		
		<dc:creator><![CDATA[surajk]]></dc:creator>
		<pubDate>Fri, 04 Feb 2011 10:52:30 +0000</pubDate>
				<category><![CDATA[Basic Programs]]></category>
		<category><![CDATA[Source Codes]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[lab programs]]></category>
		<category><![CDATA[sum of product]]></category>
		<guid isPermaLink="false">http://studentprojects.in/?p=1316</guid>

					<description><![CDATA[<p>class Sum_Product_ofDigit{ public static void main(String args[]){ int num = Integer.parseInt(args[0]); //taking value as command line argument. int temp = num,result=0; //Logic for sum of digit while(temp>0){ result = result + temp; temp--; } System.out.println("Sum of Digit for "+num+" is : "+result); //Logic for product of digit temp = num; result = 1; while(temp ></p>
<p>The post <a href="https://studentprojects.in/software-development/java/java-programs/basic/java-program-find-sum-product-digit/">Java program to find SUM AND PRODUCT of a given Digit.</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></description>
										<content:encoded><![CDATA[<pre lang="java" line="1">
class Sum_Product_ofDigit{
	public static void main(String args[]){
		int num = Integer.parseInt(args[0]); //taking value as command line
		argument.
			int temp = num,result=0;
		//Logic for sum of digit
		while(temp>0){
			result = result + temp;
			temp--;
		}
		System.out.println("Sum of Digit for "+num+" is : "+result);
		//Logic for product of digit
		temp = num;
		result = 1;
		while(temp > 0){
			result = result * temp;
			temp--;
		}
		System.out.println("Product of Digit for "+num+" is : "+result);
	}
}
</pre><p>The post <a href="https://studentprojects.in/software-development/java/java-programs/basic/java-program-find-sum-product-digit/">Java program to find SUM AND PRODUCT of a given Digit.</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://studentprojects.in/software-development/java/java-programs/basic/java-program-find-sum-product-digit/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
	</channel>
</rss>
