请编写函数sum,其功能:用while循环语句求1到n之间(包括n)能被3整除的所有整数之和
#include <stdio.h>
int sum(int num)
{
int i=0, result=0;
while (i <= num)
{
if (i%3==0)
result = result+i;
++i;
}
return result;
}
如有2113帮5261助,4102请采1653纳!回!答!
英文介绍你最喜欢的一个app,英语作文100词
Nowdays,there many apps on our smartphone,them help us to deal with the problem we met in daily life.Take myself as an example:my fovorite app is baidizhidao.When I was troubled by some problmes,I always tend to smart people on baiduzhidao for help.Its a really useful app.
in my spare time,I also will tap the logo on my cellphone to check if there are any one I can use my limited knowledge to help.Its really nice to share your idea and opinion with others
求大神分享(samson)海鳴館(サムソン)豊漫 (とまどい70歳)(1)高清完整版下载,
(samson)海鳴館(サムソン)豊漫 (とまどい70歳)(1)高清完整版下载地址: thunder://QUFodHRwOi8vYWlrYW5keS5vcmcvKHNhbXNvbinmtbfps7TppKgo44K144Og44K944OzKeixiua8qyAo44Go44G+44Gp44GENzDmrbMpKDEpLmF2aT9maWQ9aWtMekd2aVp6ZHhCWGtDU0pqeEw3WVAzb0FvQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQSZtaWQ9NjY2JnRocmVzaG9sZD0xNTAmdGlkPUU1MUREN0JDMDFBOTI4MkJBNzdFQzFDM0JFQjNDQkY3JnNyY2lkPTEyMCZ2ZXJubz0xWlo= 别拿了资源不给分啊