如果
如果
你可以输出任意大小写形式的
比如,
public class Program {
public static void Main() {
string line;
line = System.Console.ReadLine();
int n = int.Parse(line);
if(( n & 1 ) ==1)System.Console.WriteLine( "yes" );
else System.Console.WriteLine("no");
}
} #include <iostream>
using namespace std;
int main() {
long int n = 0;
cin >> n;
((n % 2) == 0) ? cout << "NO" : cout << "YES" ;
} int n = in.nextInt();
String r = "";
if(n%2==0){
r="no";
}else if(n%2!=0){
r="YES";
}
System.out.println(r);