c#
using System;using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication2
{
public class prime
{
public static void main()
{
int m, k, n = 0;
for (m = 2; m < 100; m += 2)
{
for (k = 2; k < m; k++)
if (m % k == 0)
break;
if (k >= m)
{
Console.Write("{0.-4}", m);
if (++n % 10 == 0)
Console.Write("\n");
}
}
}
}
}
(错误 1 程序“E:\ConsoleApplication1\ConsoleApplication1\obj\Debug\ConsoleApplication1.exe”不包含适合于入口点的静态“Main”方法 ConsoleApplication1
)
为什么????????知道的,给我点答案,谢谢!!!!