<?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>The Niculinu&#039;s Tales &#187; Andrea Mazzeo</title>
	<atom:link href="http://www.mazzeo.eu/author/admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mazzeo.eu</link>
	<description>L&#039;aspirazione alla verita&#039; e piu&#039; preziosa del suo sicuro possesso.</description>
	<lastBuildDate>Wed, 09 Mar 2011 10:47:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Aggiornamento Sito</title>
		<link>http://www.mazzeo.eu/2011/03/09/aggiornamento-sito/</link>
		<comments>http://www.mazzeo.eu/2011/03/09/aggiornamento-sito/#comments</comments>
		<pubDate>Wed, 09 Mar 2011 10:47:04 +0000</pubDate>
		<dc:creator>Andrea Mazzeo</dc:creator>
				<category><![CDATA[/dev/null]]></category>

		<guid isPermaLink="false">http://www.mazzeo.eu/?p=79</guid>
		<description><![CDATA[Dopo qualche mesetto, finalmente sono riuscito ad aggiornare WP ed a cancellare gli oltre 200 commenti di spam Fortuna che avevo installato il plugin per lo spam.]]></description>
			<content:encoded><![CDATA[<p>Dopo qualche mesetto, finalmente sono riuscito ad aggiornare WP ed a cancellare gli oltre 200 commenti di spam <img src='http://www.mazzeo.eu/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Fortuna che avevo installato il plugin per lo spam.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mazzeo.eu/2011/03/09/aggiornamento-sito/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[TG] Svegliarsi la mattina</title>
		<link>http://www.mazzeo.eu/2010/01/07/tg-svegliarsi-la-mattina/</link>
		<comments>http://www.mazzeo.eu/2010/01/07/tg-svegliarsi-la-mattina/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 08:12:04 +0000</pubDate>
		<dc:creator>Andrea Mazzeo</dc:creator>
				<category><![CDATA[/home]]></category>
		<category><![CDATA[mattino]]></category>
		<category><![CDATA[notizie]]></category>
		<category><![CDATA[sky]]></category>
		<category><![CDATA[stefania pinna]]></category>
		<category><![CDATA[tg]]></category>

		<guid isPermaLink="false">http://www.mazzeo.eu/?p=76</guid>
		<description><![CDATA[Da un paio di giorni la mattina guardo piu&#8217; volentieri la TV. Il motivo? Stefania Pinna. Oltre che ad essere brava, preparata e con una bellissima voce e&#8217; anche una donna stupenda Grazie]]></description>
			<content:encoded><![CDATA[<p>Da un paio di giorni la mattina guardo piu&#8217; volentieri la TV.<br />
Il motivo? Stefania Pinna.</p>
<p>Oltre che ad essere brava, preparata e con una bellissima voce e&#8217; anche una donna stupenda <img src='http://www.mazzeo.eu/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Grazie</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mazzeo.eu/2010/01/07/tg-svegliarsi-la-mattina/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[NET] My home network&#8217;s core</title>
		<link>http://www.mazzeo.eu/2009/12/01/net-my-home-networks-core/</link>
		<comments>http://www.mazzeo.eu/2009/12/01/net-my-home-networks-core/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 13:38:55 +0000</pubDate>
		<dc:creator>Andrea Mazzeo</dc:creator>
				<category><![CDATA[/home]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[datacenter]]></category>
		<category><![CDATA[fan]]></category>
		<category><![CDATA[ikea]]></category>
		<category><![CDATA[isidoro]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[noice]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[sound]]></category>

		<guid isPermaLink="false">http://www.mazzeo.eu/?p=65</guid>
		<description><![CDATA[Hi guys, my first english post it&#8217;s about my home. Isidoro is a nice little boy but router&#8217;s noice is very daungerous for his ears. I&#8217;ve to lock in a box to prevent the (nice) sound of the fan. 4 nerds: Cisco 2600 Series Asus WL-500 GP v2 Sheevaplug + USB HD Plexyglass + Ikea]]></description>
			<content:encoded><![CDATA[<p><strong>H</strong>i guys,<br />
my first english post it&#8217;s about my home. Isidoro is a nice<em> little</em> boy but router&#8217;s noice is very daungerous for his ears.<br />
I&#8217;ve to lock in a box to prevent the (nice) sound of the fan.</p>
<p><img class="alignleft size-medium wp-image-67" title="home_network" src="http://www.mazzeo.eu/wp-content/uploads/2009/12/home_network-300x225.jpg" alt="home_network" width="300" height="225" /> 4 nerds:</p>
<ol>
<li style="text-align: right;">Cisco 2600 Series</li>
<li style="text-align: right;">Asus WL-500 GP v2</li>
<li style="text-align: right;">Sheevaplug + USB HD</li>
<li style="text-align: right;">Plexyglass + Ikea</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.mazzeo.eu/2009/12/01/net-my-home-networks-core/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[DC] Water Cooling</title>
		<link>http://www.mazzeo.eu/2009/11/25/dc-water-cooling/</link>
		<comments>http://www.mazzeo.eu/2009/11/25/dc-water-cooling/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 08:24:07 +0000</pubDate>
		<dc:creator>Andrea Mazzeo</dc:creator>
				<category><![CDATA[Life in DataCenter]]></category>
		<category><![CDATA[cooling]]></category>
		<category><![CDATA[datacenter]]></category>
		<category><![CDATA[free cooling]]></category>
		<category><![CDATA[iceotope]]></category>
		<category><![CDATA[novità]]></category>
		<category><![CDATA[water]]></category>

		<guid isPermaLink="false">http://www.mazzeo.eu/?p=52</guid>
		<description><![CDATA[Questo post e&#8217; dedicato a tutti gli ****** che mi risero dietro quando qualche anno fa proposi questa soluzione: Fonte: http://www.iceotope.co.uk/technology/]]></description>
			<content:encoded><![CDATA[<p>Questo post e&#8217; dedicato a tutti gli ****** che mi risero dietro quando qualche anno fa proposi questa soluzione:</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="433" height="257" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/K5e9_cqFiNE&amp;hl=it_IT&amp;fs=1&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="433" height="257" src="http://www.youtube.com/v/K5e9_cqFiNE&amp;hl=it_IT&amp;fs=1&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Fonte:<br />
<a href="http://www.iceotope.co.uk/technology/">http://www.iceotope.co.uk/technology/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mazzeo.eu/2009/11/25/dc-water-cooling/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[HOWTO] Linux install from USB device &#8211; Unetbootin</title>
		<link>http://www.mazzeo.eu/2009/11/22/howto-linux-install-from-usb-device-unetbootin/</link>
		<comments>http://www.mazzeo.eu/2009/11/22/howto-linux-install-from-usb-device-unetbootin/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 18:32:48 +0000</pubDate>
		<dc:creator>Andrea Mazzeo</dc:creator>
				<category><![CDATA[/dev/null]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[netinstall]]></category>
		<category><![CDATA[unetbootin]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://www.mazzeo.eu/?p=45</guid>
		<description><![CDATA[Ciao a tutti, in questo weekend ho testato un tool per creare una chiave USB bootabile in 4 semplici passi grazie a unetbootin. Installiamo il nostro tool: root@albert:~# apt-get install unetbootin da utente non root avviate il programma: arag00rn@albert:~$ unetbootin Selezionate la distro dalla lista, il tool provvedera&#8217; a scaricare l&#8217;immagine in automatico oppure selezionate [...]]]></description>
			<content:encoded><![CDATA[<p>Ciao a tutti,<br />
in questo weekend ho testato un tool per creare una chiave USB bootabile in 4 semplici passi grazie a unetbootin.</p>
<p>Installiamo il nostro tool:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">root<span style="color: #000000; font-weight: bold;">@</span>albert:~<span style="color: #666666; font-style: italic;"># apt-get install unetbootin</span></pre></div></div>

<p>da utente non root avviate il programma:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">arag00rn<span style="color: #000000; font-weight: bold;">@</span>albert:~$ unetbootin</pre></div></div>

<p>Selezionate la distro dalla lista, il tool provvedera&#8217; a scaricare l&#8217;immagine in automatico oppure selezionate una ISO dal vostro HD.</p>
<p>Selezionate il device USB di destinazione (dev&#8217;essere montato e formattato in FAT16).</p>
<p>Premere &#8220;OK&#8221; e attendete. Finito<br />
Buone installazioni <img src='http://www.mazzeo.eu/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.mazzeo.eu/2009/11/22/howto-linux-install-from-usb-device-unetbootin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[DEB] aMule-Adunanza</title>
		<link>http://www.mazzeo.eu/2009/11/18/deb-amule-adunanza/</link>
		<comments>http://www.mazzeo.eu/2009/11/18/deb-amule-adunanza/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 23:58:38 +0000</pubDate>
		<dc:creator>Andrea Mazzeo</dc:creator>
				<category><![CDATA[sheevaplug]]></category>
		<category><![CDATA[adunanza]]></category>
		<category><![CDATA[amule]]></category>
		<category><![CDATA[armel]]></category>
		<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://www.mazzeo.eu/?p=35</guid>
		<description><![CDATA[Ciao, mi sono deciso a ricompilare adunanza per il mio amato Sheevaplug. Visto che e&#8217; stata un operazione lunga ho deciso di facilitare la vita a quanti di voi vogliano usare adunanza su una macchina armel, beccatevi il .deb Ho snellito i binari compilando solo la parte demone. Buon download amule-adunanza_3.14b3]]></description>
			<content:encoded><![CDATA[<p>Ciao,</p>
<p>mi sono deciso a ricompilare adunanza per il mio amato <a title="Sheevaplug" href="http://www.marvell.com/products/embedded_processors/developer/kirkwood/sheevaplug.jsp" target="_blank">Sheevaplug</a>.<br />
Visto che e&#8217; stata un operazione lunga ho deciso di facilitare la vita a quanti di voi vogliano usare adunanza su una macchina armel, beccatevi il .deb</p>
<p>Ho snellito i binari compilando solo la parte demone.</p>
<p>Buon download <a href="http://www.mazzeo.eu/wp-content/uploads/2009/11/amule-adunanza_3.14b3-1_armel.deb">amule-adunanza_3.14b3</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mazzeo.eu/2009/11/18/deb-amule-adunanza/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>New Style</title>
		<link>http://www.mazzeo.eu/2009/10/14/new-style/</link>
		<comments>http://www.mazzeo.eu/2009/10/14/new-style/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 09:36:40 +0000</pubDate>
		<dc:creator>Andrea Mazzeo</dc:creator>
				<category><![CDATA[/dev/null]]></category>
		<category><![CDATA[look]]></category>
		<category><![CDATA[new site]]></category>
		<category><![CDATA[novità]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.mazzeo.eu/2009/10/14/new-style/</guid>
		<description><![CDATA[Dopo mesi di nulla, ho deciso di aggiornare un po&#8217; il blog. Nuovo WordPress, look e spero anche voglia di mettere articoli]]></description>
			<content:encoded><![CDATA[<p>Dopo mesi di nulla, ho deciso di aggiornare un po&#8217; il blog.</p>
<p>Nuovo WordPress, look e spero anche voglia di mettere articoli</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mazzeo.eu/2009/10/14/new-style/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>[NEW] HP 6730s</title>
		<link>http://www.mazzeo.eu/2008/12/06/new-hp-6730s/</link>
		<comments>http://www.mazzeo.eu/2008/12/06/new-hp-6730s/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 21:59:01 +0000</pubDate>
		<dc:creator>Andrea Mazzeo</dc:creator>
				<category><![CDATA[/dev/null]]></category>
		<category><![CDATA[/home]]></category>

		<guid isPermaLink="false">http://www.mazzeo.eu/index.php/2008/12/06/new-hp-6730s/</guid>
		<description><![CDATA[Ho acquistato da poco il notebook nuovo HP 6730s . Ho deciso di installarci su una Debian a 32bit, che sono quasi arrivato ad odiare, ma alla fine ho vinto! Le periferiche che mi hanno dato problemi sono:  03:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection 01:00.0 VGA compatible controller: ATI Technologies [...]]]></description>
			<content:encoded><![CDATA[<p><strong>H</strong>o acquistato da poco il notebook nuovo <a href="http://h10010.www1.hp.com/wwpc/uk/en/sm/WF05a/321957-321957-64295-89315-89315-3687778.html">HP 6730s</a> . Ho deciso di installarci su una Debian a 32bit, che sono quasi arrivato ad odiare, ma alla fine ho vinto!</p>
<p>Le periferiche che mi hanno dato problemi sono:</p>
<ul>
<li> 03:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection</li>
<li>01:00.0 VGA compatible controller: ATI Technologies Inc Device 95c2</li>
<li>00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller<br />
(rev 03)</li>
<li>Bus 004 Device 002: ID 04f2:b083 Chicony Electronics Co., Ltd</li>
</ul>
<p>Rispettivamente: Wireless, Video, Audio, Webcam.<br />
La sfiga principale e&#8217; che attualmente sui repository Debian l&#8217;ultimo kernel usabile e&#8217; il 2.6.26, mentre per far funzionare la scheda wireless serve il 2.6.27. Mano ai sorgenti del <a href="www.kernel.org">kernel</a> ho deciso di compilarmelo a mano.</p>
<ol>
<li>Scarico i sorgenti</li>
<li>Seleziono tutto l&#8217;hardware che mi serviva</li>
<li>Creo i pacchetti .deb per l&#8217;installazione (linux-image, linux-headers)</li>
<li>Riavvio</li>
<li>Compilo i driver <a href="http://ati.amd.com/support/drivers/linux/linux-radeon.html">Video</a> (ATI HD3200)</li>
<li>Finish</li>
</ol>
<p>Al primo avvio non sento l&#8217;audio, ma i moduli sono caricati correttamente, poco male era una stronzata.<br />
Dopo aver lanciato alsaconf, bisogna modificare la riga che aggiunge automaticamente per il caricamento del modulo su:</p>
<p>/etc/modprobe.d/sound</p>
<p><em>options snd-hda-intel model=laptop</em></p>
<p>Fatto questo ricaricate il modulo snd-hda-intel e godetevi il vostro PC!<br />
Siccome non sono cosi tanto stronzo, vi allego il kernel compilato e preciso, pronto da installare <img src='http://www.mazzeo.eu/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Qui scaricate l&#8217;immagine del kernel: <a href="http://www.mazzeo.eu/download/linux-image-2.6.27.7-albert_1_i386.deb">linux-image-2.6.27-7-albert</a><br />
Per gli header invece: <a href="http://www.mazzeo.eu/download/linux-headers-2.6.27.7-albert_1_i386.deb">linux-headers-2.6.27-7-albert</a></p>
<p>A buon rendere!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mazzeo.eu/2008/12/06/new-hp-6730s/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>[DEV] MODBUS/TCP Client</title>
		<link>http://www.mazzeo.eu/2008/10/19/smodbus/</link>
		<comments>http://www.mazzeo.eu/2008/10/19/smodbus/#comments</comments>
		<pubDate>Sun, 19 Oct 2008 12:46:25 +0000</pubDate>
		<dc:creator>Andrea Mazzeo</dc:creator>
				<category><![CDATA[Life in DataCenter]]></category>
		<category><![CDATA[libmodbus]]></category>
		<category><![CDATA[Modbus/TCP]]></category>
		<category><![CDATA[smodbus]]></category>

		<guid isPermaLink="false">http://www.mazzeo.eu/index.php/2008/10/19/smodbus/</guid>
		<description><![CDATA[Mi serviva un programmino che interrogasse dei dispositivi che parlano Modbus/TCP Ho trovato una libreria carina libmodbus e partendo da questa ho realizzato smodbus I sorgenti del client sono disponibili qui. Per compilare dovete usare GCC4 e includere le librerie di modbus gcc smodbus.c -o smodbus `pkg-config --libs --cflags modbus`]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.mazzeo.eu/wp-content/uploads/2008/10/cplusplus.jpg" title="C"><img src="http://www.mazzeo.eu/wp-content/uploads/2008/10/cplusplus.thumbnail.jpg" alt="C" /></a></p>
<p>Mi serviva un programmino che interrogasse dei dispositivi che parlano <a href="http://it.wikipedia.org/wiki/Modbus">Modbus/TCP</a><br />
Ho trovato una libreria carina <a href="https://launchpad.net/libmodbus/">libmodbus</a> e partendo da questa ho realizzato <em>smodbus</em><br />
I sorgenti del client sono disponibili <a href="http://www.mazzeo.eu/wp-content/uploads/2008/10/smodbus.tar.bz2" title="smodbus">qui.</a></p>
<p>Per compilare dovete usare GCC4 e includere le librerie di modbus</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">gcc</span> smodbus.c <span style="color: #660033;">-o</span> smodbus  <span style="color: #000000; font-weight: bold;">`</span>pkg-config <span style="color: #660033;">--libs</span> <span style="color: #660033;">--cflags</span> modbus<span style="color: #000000; font-weight: bold;">`</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.mazzeo.eu/2008/10/19/smodbus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Java] Laboratorio 1</title>
		<link>http://www.mazzeo.eu/2008/10/18/lab_1/</link>
		<comments>http://www.mazzeo.eu/2008/10/18/lab_1/#comments</comments>
		<pubDate>Sat, 18 Oct 2008 11:29:02 +0000</pubDate>
		<dc:creator>Andrea Mazzeo</dc:creator>
				<category><![CDATA[/lib/java]]></category>

		<guid isPermaLink="false">http://www.mazzeo.eu/index.php/2008/10/19/lab_1/</guid>
		<description><![CDATA[Qui trovate la traccia del 1° Laboratorio (PDF) Esercizio 1: 1 2 3 4 5 public class CiaoMondo &#123; public static void main&#40;String &#91;&#93;a&#41; &#123; System.out.println&#40;&#34;CiaoMondo&#34;&#41;; &#125; &#125; Esercizio 2: 1 2 3 4 5 6 7 8 import prog.io.ConsoleOutputManager; &#160; public class CiaoMondo &#123; public static void main&#40;String &#91;&#93;a&#41; &#123; ConsoleOutputManager out = new [...]]]></description>
			<content:encoded><![CDATA[<p>Qui trovate la traccia del 1° Laboratorio (<a href="http://homes.dico.unimi.it/prog/turno3-08/lab/docs/lezioni/lab1.pdf">PDF</a>)</p>
<p>Esercizio 1:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> CiaoMondo <span style="color: #009900;">&#123;</span>
        <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000066; font-weight: bold;">void</span> main<span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span> <span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span>a<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        	<span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;CiaoMondo&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Esercizio 2:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">prog.io.ConsoleOutputManager</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> CiaoMondo <span style="color: #009900;">&#123;</span>
        <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000066; font-weight: bold;">void</span> main<span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span> <span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span>a<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        	ConsoleOutputManager out <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> ConsoleOutputManager<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        	out.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;CiaoMondo&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Esercizio 3:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">prog.io.ConsoleOutputManager</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> CiaoMondo<span style="color: #009900;">&#123;</span>
        <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000066; font-weight: bold;">void</span> main <span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span> <span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span>a<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
                ConsoleOutputManager out <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> ConsoleOutputManager<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                <span style="color: #000000; font-weight: bold;">for</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">int</span> i<span style="color: #339933;">=</span><span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>i<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;=</span><span style="color: #cc66cc;">3</span><span style="color: #339933;">;</span>i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
                        out.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Ciao Mondo (&quot;</span><span style="color: #339933;">+</span>i<span style="color: #339933;">+</span><span style="color: #0000ff;">&quot;)&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                <span style="color: #009900;">&#125;</span>
        <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Esercizio 4:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
</pre></td><td class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">prog.io.*</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> EchoNumeroIntero
<span style="color: #009900;">&#123;</span>
        <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000066; font-weight: bold;">void</span> main<span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span> <span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span>a<span style="color: #009900;">&#41;</span>
        <span style="color: #009900;">&#123;</span>
                ConsoleInputManager in <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> ConsoleInputManager<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                ConsoleOutputManager out <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> ConsoleOutputManager<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">int</span> c <span style="color: #339933;">=</span> in.<span style="color: #006633;">readInt</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Inserisci un intero: &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                out.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span>c<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Esercizio 5:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">prog.io.*</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> EchoStringa
<span style="color: #009900;">&#123;</span>
        <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000066; font-weight: bold;">void</span> main <span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span> <span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span>a<span style="color: #009900;">&#41;</span>
        <span style="color: #009900;">&#123;</span>
                ConsoleInputManager in <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> ConsoleInputManager<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                ConsoleOutputManager out <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> ConsoleOutputManager<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                <span style="color: #003399;">String</span> s <span style="color: #339933;">=</span> in.<span style="color: #006633;">readLine</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Inserisci una Stringa: &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                out.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span>s<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Esercizio 6:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
</pre></td><td class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">prog.io.*</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> EchoConcatenato
<span style="color: #009900;">&#123;</span>
        <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000066; font-weight: bold;">void</span> main <span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span> <span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span>a<span style="color: #009900;">&#41;</span>
        <span style="color: #009900;">&#123;</span>
                ConsoleOutputManager out <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> ConsoleOutputManager<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                ConsoleInputManager in <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> ConsoleInputManager<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                <span style="color: #003399;">String</span> a,b,c<span style="color: #339933;">;</span>
&nbsp;
                a <span style="color: #339933;">=</span> in.<span style="color: #006633;">readLine</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Inserisci la 1^ stringa: &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                b <span style="color: #339933;">=</span> in.<span style="color: #006633;">readLine</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Inserisci la 2^ stringa: &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                c <span style="color: #339933;">=</span> in.<span style="color: #006633;">readLine</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Inserisci la 3^ stringa: &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                out.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span>a<span style="color: #339933;">+</span>b<span style="color: #339933;">+</span>c<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Esercizio 7:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
</pre></td><td class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">prog.io.*</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> Cornice
<span style="color: #009900;">&#123;</span>
        <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000066; font-weight: bold;">void</span> main<span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span> <span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span>a<span style="color: #009900;">&#41;</span>
        <span style="color: #009900;">&#123;</span>
                ConsoleOutputManager out <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> ConsoleOutputManager<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                ConsoleInputManager in <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> ConsoleInputManager<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                <span style="color: #003399;">String</span> s <span style="color: #339933;">=</span> in.<span style="color: #006633;">readLine</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Inserisci una Stringa: &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">int</span> leng <span style="color: #339933;">=</span> s.<span style="color: #006633;">length</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">int</span> cont<span style="color: #339933;">=</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
                out.<span style="color: #006633;">print</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;***&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
                <span style="color: #000000; font-weight: bold;">while</span><span style="color: #009900;">&#40;</span>cont<span style="color: #339933;">&lt;</span>leng<span style="color: #009900;">&#41;</span><span style="color: #339933;">&gt;</span>
                <span style="color: #009900;">&#123;</span>
                        out.<span style="color: #006633;">print</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;*&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                        cont<span style="color: #339933;">++;</span>
                <span style="color: #009900;">&#125;</span>
                out.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;***&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                out.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;*  &quot;</span><span style="color: #339933;">+</span>s<span style="color: #339933;">+</span><span style="color: #0000ff;">&quot;  *&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                out.<span style="color: #006633;">print</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;***&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                cont<span style="color: #339933;">=</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
                <span style="color: #000000; font-weight: bold;">while</span><span style="color: #009900;">&#40;</span>cont<span style="color: #339933;">&lt;</span>leng<span style="color: #009900;">&#41;</span><span style="color: #339933;">&gt;</span>
                <span style="color: #009900;">&#123;</span>
                        out.<span style="color: #006633;">print</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;*&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                        cont<span style="color: #339933;">++;</span>
                <span style="color: #009900;">&#125;</span>
                out.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;***&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #339933;">&lt;/</span>leng<span style="color: #009900;">&#41;</span><span style="color: #339933;">&gt;&lt;/</span>leng<span style="color: #009900;">&#41;</span><span style="color: #339933;">&gt;</span></pre></td></tr></table></div>

<p>Esercizio 8:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
</pre></td><td class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">prog.io.*</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> Operazioni
<span style="color: #009900;">&#123;</span>
        <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000066; font-weight: bold;">void</span> main <span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span> <span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span>a<span style="color: #009900;">&#41;</span>
        <span style="color: #009900;">&#123;</span>
                ConsoleInputManager in <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> ConsoleInputManager<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                ConsoleOutputManager out <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> ConsoleOutputManager<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">int</span> x, y<span style="color: #339933;">;</span>
                x <span style="color: #339933;">=</span> in.<span style="color: #006633;">readInt</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Inserisci il valore di x: &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                y <span style="color: #339933;">=</span> in.<span style="color: #006633;">readInt</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Inserisci il valore di y: &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                out.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;La somma dei valori e': &quot;</span><span style="color: #339933;">+</span><span style="color: #009900;">&#40;</span>x<span style="color: #339933;">+</span>y<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                out.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;La differenza dei valori e': &quot;</span><span style="color: #339933;">+</span><span style="color: #009900;">&#40;</span>x<span style="color: #339933;">-</span>y<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                out.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Il prodotto dei valori e': &quot;</span><span style="color: #339933;">+</span><span style="color: #009900;">&#40;</span>x<span style="color: #339933;">*</span>y<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                out.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Il quoziente dei valori e': &quot;</span><span style="color: #339933;">+</span><span style="color: #009900;">&#40;</span>x<span style="color: #339933;">/</span>y<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Esercizio 9:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
</pre></td><td class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">prog.io.*</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">prog.utili.Frazione</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> OperazioniFrazioni <span style="color: #009900;">&#123;</span>
        <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000066; font-weight: bold;">void</span> main<span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span> <span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span>a<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
&nbsp;
                ConsoleInputManager in <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> ConsoleInputManager<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                ConsoleOutputManager out <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> ConsoleOutputManager<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">int</span> num1 <span style="color: #339933;">=</span> in.<span style="color: #006633;">readInt</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Inserisci il numeratore della 1^ frazione: &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">int</span> den1 <span style="color: #339933;">=</span> in.<span style="color: #006633;">readInt</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Inserisci il denominatore della 1^ frazione: &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                Frazione f1 <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Frazione<span style="color: #009900;">&#40;</span>num1,den1<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">int</span> num2 <span style="color: #339933;">=</span> in.<span style="color: #006633;">readInt</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Inserisci il numeratore della 2^ frazione: &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">int</span> den2 <span style="color: #339933;">=</span> in.<span style="color: #006633;">readInt</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Inserisci il denominatore della 2^ frazione: &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                Frazione f2 <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Frazione<span style="color: #009900;">&#40;</span>num2,den2<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
                Frazione sum <span style="color: #339933;">=</span> f1.<span style="color: #006633;">piu</span><span style="color: #009900;">&#40;</span>f2<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                Frazione dif <span style="color: #339933;">=</span> f1.<span style="color: #006633;">meno</span><span style="color: #009900;">&#40;</span>f2<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                Frazione per <span style="color: #339933;">=</span> f1.<span style="color: #006633;">per</span><span style="color: #009900;">&#40;</span>f2<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                Frazione div <span style="color: #339933;">=</span> f1.<span style="color: #006633;">diviso</span><span style="color: #009900;">&#40;</span>f2<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
                out.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;La somma tra le due frazioni e' : &quot;</span><span style="color: #339933;">+</span>sum.<span style="color: #006633;">toString</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                out.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;La differenza tra le due frazioni e' : &quot;</span><span style="color: #339933;">+</span>dif.<span style="color: #006633;">toString</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                out.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Il prodotto tra le due frazioni e' : &quot;</span><span style="color: #339933;">+</span>per.<span style="color: #006633;">toString</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                out.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Il quoziente tra le due frazioni e' : &quot;</span><span style="color: #339933;">+</span>div.<span style="color: #006633;">toString</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.mazzeo.eu/2008/10/18/lab_1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

