#A449. 判断偶数
判断偶数
题目描述
输入一个正整数 ,判断输入的正整数是否是偶数,如果是则输出 yes,否则输出 no。
输入格式
输入一行,包含一个正整数 。
保证输入的正整数 在 int 范围内。
输出格式
输出一行,为 yes 或者 no。
3
no
输入一个正整数 n,判断输入的正整数是否是偶数,如果是则输出 yes,否则输出 no。
输入一行,包含一个正整数 n。
保证输入的正整数 n 在 int 范围内。
输出一行,为 yes 或者 no。
3
no
By signing up a 黑猫OJ universal account, you can submit code and join discussions in all online judging services provided by us.