I.java18: '}' expected 1error

public class I { public static void main(String argv[]) { int x=1, y=3, z=5; if (x>3) { if(y<5) System.out.println ("one"); else System.out.println ("two"); } else if (z>5) System.out.println ("three"); else System.out.println ("four")... 顯示更多 public class I
{
public static void main(String argv[])
{
int x=1, y=3, z=5;
if (x>3)
{
if(y<5)

System.out.println ("one");
else
System.out.println ("two");
}
else if (z>5)
System.out.println ("three");

else
System.out.println ("four") ;

我打的程式碼 裡面有錯誤 有哪個高手可以告訴我錯誤在哪裡阿= =
1 個解答 1