السلام عليكم الرجاء المساعدة في هذا الموضوع
If NOT (both x and y are equal zero)
Display a message “You Win The Game”
في هذه النقطة انا قمت بالمحاولة وكتابة الكود بهذه الطريقة فأرجو من الخبراء مساعدتي في التصحيح
import javax.swing.*;
public class EvalScore {
double win = 0;
int x = 0;
int y = 0;
String scoreStr = JOptionPane.showInputDialog(null, "You Win The Game");
win = Integer.parseInt(scoreStr);
if (x >= 0 && y <= 0) {
}
System.exit(0);
}
}