#C语言[超话]#
我的代码如下,请问各位大佬 ,为什么实现不了呢?
#define _CRT_SECURE_NO_WARNINGS
#include;
#include;
#include;
int main()
{
int n=1, sum = 0, y,count=0;
int a,b;
a = 2 * n;
b = 2 * n + 1;
while (n <= 15)
{
if (count / 2 == 0)
{
y = a * b;
sum = sum + y;
count++;
}
n++;
}
printf(" % d\n", sum);
system("pause");
return 0;
}
我的代码如下,请问各位大佬 ,为什么实现不了呢?
#define _CRT_SECURE_NO_WARNINGS
#include
#include
#include
int main()
{
int n=1, sum = 0, y,count=0;
int a,b;
a = 2 * n;
b = 2 * n + 1;
while (n <= 15)
{
if (count / 2 == 0)
{
y = a * b;
sum = sum + y;
count++;
}
n++;
}
printf(" % d\n", sum);
system("pause");
return 0;
}
稻盛和夫说:没有人会去帮助一个毫无价值的人,你必须要好好的经营自己,就算你跌入了谷底,也要有与人交换的筹码,这才是强者定律。没有永远的朋友,只有永远的利益,不努力就会被淘汰,不强大就会被伤害。
Inamori Kazuo said: no one will help a worthless person, you must be good to manage yourself, even if you fall into the bottom of the trough, but also have to exchange chips with people, this is the law of the strong. No forever friends, only forever interests, do not work hard will be eliminated, not strong will be hurt.
Inamori Kazuo said: no one will help a worthless person, you must be good to manage yourself, even if you fall into the bottom of the trough, but also have to exchange chips with people, this is the law of the strong. No forever friends, only forever interests, do not work hard will be eliminated, not strong will be hurt.
【中俄双边合作为何利于全球安全与发展|Por qué la cooperación bilateral China-Rusia sirve a la seguridad y el desarrollo mundiales】El año pasado, la asociación chino-rusa superó una seria prueba de su fortaleza y demostró que sus cimientos son resistentes a los más amplios desafíos externos. Esto preocupa a las potencias que no ven con buenos ojos la cooperación entre China y Rusia. Durante la visita del presidente Xi a Moscú, ambos países demostraron que están dispuestos a seguir esforzándose, a pesar de que sus relaciones se encuentran ya en su punto más alto. Los próximos cinco años serán una etapa crucial en la que debería surgir un orden internacional más justo. Más: https://t.cn/A6CDxF42
✋热门推荐