Difference between revisions of "Be the Machine - if"

From Progzoo
Jump to: navigation, search
(Problem 2)
Line 32: Line 32:
 
static void oneLine(String name, String region,
 
static void oneLine(String name, String region,
 
               int area, long pop, long gdp){
 
               int area, long pop, long gdp){
   if (pop > 400)
+
   if (pop > 200)
 
     System.out.println(name);
 
     System.out.println(name);
 
}
 
}
 
</prog>
 
</prog>
 
</question>
 
</question>
 +
 
==Problem 3==
 
==Problem 3==
 
<question className="Cia" title="What's the output?" copyfile="bbc4.txt">
 
<question className="Cia" title="What's the output?" copyfile="bbc4.txt">

Revision as of 11:56, 1 October 2009

Problem 1


[Font] [Default] [Show] [Resize] [History] [Profile]

Problem 2


[Font] [Default] [Show] [Resize] [History] [Profile]

Problem 3


[Font] [Default] [Show] [Resize] [History] [Profile]

Problem 4

Line: 123 DOMDocument::loadXML(): StartTag: invalid element name in Entity, line: 5
Line: 123 DOMDocument::loadXML(): xmlParseEntityRef: no name in Entity, line: 5
Line: 123 DOMDocument::loadXML(): xmlParseEntityRef: no name in Entity, line: 5
Line: 123 DOMDocument::loadXML(): StartTag: invalid element name in Entity, line: 5

Problem 5

Line: 123 DOMDocument::loadXML(): StartTag: invalid element name in Entity, line: 5
Line: 123 DOMDocument::loadXML(): StartTag: invalid element name in Entity, line: 5

Problem 6

Line: 123 DOMDocument::loadXML(): xmlParseEntityRef: no name in Entity, line: 5
Line: 123 DOMDocument::loadXML(): xmlParseEntityRef: no name in Entity, line: 5
Line: 123 DOMDocument::loadXML(): StartTag: invalid element name in Entity, line: 5

Problem 7

Line: 123 DOMDocument::loadXML(): StartTag: invalid element name in Entity, line: 5

Problem 8


[Font] [Default] [Show] [Resize] [History] [Profile]