标签:ar sp on bs ad amp line nbsp br
int a = int.Parse(Console.ReadLine());
if(a>=1 && a<=100)
{
if((a%7==0)||(a%10==7)||(a/10==7))
{
Console.WriteLine("与7有关");
}
else
Console.WriteLine("与7无关");
标签:ar sp on bs ad amp line nbsp br
原文地址:http://www.cnblogs.com/yangyue/p/4161852.html