پرسش و پاسخ در برنامه نویسی جاوا
public static void main(String[] args)throws Exception
{
char c;
c = (char)System.in.read();
if (c<6)
System.out.println(c);
else if (c>=6)
System.out.print("not");
}
}
تو این کد مگه نباید ورودی ما اگر کوچکتر از 6 باشه سیستم عدد...