Difference between revisions of "Be the Machine - if"

From Progzoo
Jump to: navigation, search
(Created page with ' <shell lang="java" className="Cia" import="shells_bbc.xml#fun" lang='java'/> ==Problem 1== <question className="Cia" title="What's the output/" copyfile="bbc.txt"> <prog> static...')
 
(Problem 1)
Line 6: Line 6:
 
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 (name.equals("Africa"))
+
   if (region.equals("Africa"))
 
     System.out.println(region);
 
     System.out.println(region);
 
}
 
}
 
</prog>
 
</prog>
 
</question>
 
</question>

Revision as of 11:40, 1 October 2009

Problem 1


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