<?xml version="1.0" encoding="UTF-8"?>
<oembed>
 <version>1.0</version>
 <type>link</type>
 <provider_name>Rainbow Dash Network</provider_name>
 <provider_url>http://rainbowdash.net/</provider_url>
 <title>aodhidbrbeididbe's status on Monday, 13-Jun-11 23:21:39 UTC</title>
 <author_name>aodhidbrbeididbe</author_name>
 <author_url>http://rainbowdash.net/aodhidbrbeididbe</author_url>
 <url>http://rainbowdash.net/notice/184184</url>
 <html>import java.util.Scanner;
public class main {


	public static void main(String[] args) {
		double a;
		int c;
		int d;
		int s = 0;
		int f = 0;
		Scanner in = new Scanner(&lt;a href=&quot;http://System.in/&quot; title=&quot;http://System.in/&quot; rel=&quot;nofollow external&quot;&gt;System.in&lt;/a&gt;);
		System.out.println(&amp;quot;GUESS THE NUMBER!&amp;quot;);
		while(f &amp;lt; 10) {
			a = Math.floor(Math.random()*10);
			c = (int)a;
			d = in.nextInt();
			if(d == c) {
				System.out.println(&amp;quot;YOU GOT IT RIGHT!&amp;quot;);
				s++;
			}
			else {
				System.out.println(&amp;quot;YOU WERE WRONG - THE CORRECT ANSWER WAS &amp;quot; + c);
				s--;
			}
			f++;
		}
		System.out.println(&amp;quot;THANKS FOR PLAYING GREG'S NUMBER GUESSING GAME \n YOUR TOTAL SCORE WAS &amp;quot; + s);
	}

}
i added some new stuff to the code...</html>
</oembed>
