用C语言解决1*2*3+3*4*5+5*6*7+……99*100*101(具体程序)

日期:2021-05-20 05:28:46 人气:1

用C语言解决1*2*3+3*4*5+5*6*7+……99*100*101(具体程序)

static void Main(string[] args)
{
int a = 0, b = 1, c = 2, d = 3;//结果a,初始值b,c,d
int e,f,g,h;//过程值e,f,g,h
while (b<=99)
{
e = b * c *
    A+
热门评论