当前位置:网站首页>Average score of 100 people
Average score of 100 people
2022-06-28 19:35:00 【Yuyy】
This paper is finally updated at 1170 Days ago, , The information may have developed or changed .
#include "stdafx.h"
#include<cstdio>
using namespace std;
int main()
{
int i, sum=0,s[100];
for (i = 0; i < 100; i++)
{
int k = i + 1;
printf(" Please enter the first %d Results of students \n",k);
scanf("%d", &s[i]);
sum = sum + s[i];
}
sum = sum / 100;
printf(" this 100 The average grade of the students is \n",sum);
return 0;
}Post Views: 298
边栏推荐
- 《数据安全法》出台一周年,看哪四大变化来袭?
- 电脑如何检查驱动程序是否正常
- Variable autoencoders (vaes)
- 微信小程序_8,视图与逻辑
- Building tin with point cloud
- shell读取Json文件的值
- Concours de segmentation des images gastro - intestinales de kaggle Baseline
- 智能计算系统2 bangc算子开发的demo (CPU和MLU270的异构编程流程)
- PCL calculation of center and radius of circumscribed circle of plane triangle
- Variational graph auto-encoders (VGAE)
猜你喜欢

基于趋势和季节性的时间序列预测

Why is it not enough to declare the structure alias when using the structure variable of other files in C language, and the proper name must be used? (cannot add struct when using alias)

《数字经济全景白皮书》消费金融数字化篇 重磅发布

Win11如何给系统盘瘦身?Win11系统盘瘦身方法

Tencent tangdaosheng: facing the new world of digital and real integration, developers are the most important "architects"

How does the computer check whether the driver is normal

Bayesian inference problem, MCMC and variational inference

SQL Server2019 新建 SQL Server身份验证用户名 并登录

Gaozelong, a digital economy expert: Yingke changed its name to yingcosmos. Will yuancosmos become the next growth engine of Yingke?

Industry analysis - quick intercom, building intercom
随机推荐
严重性 代码 说明 项目 文件 行 禁止显示状态 错误 LNK2038 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDe
Design of secsha system
Web3 that unleashes the value of the Internet
Paper notes: universal value function approvers
Intelligent computing system 1 environment construction
Leetcode 周赛299
The white paper on the panorama of the digital economy and the digitalization of consumer finance were released
redisTemplate
严重性 代码 说明 项目 文件 行 禁止显示状态 错误 C1047 对象或库文件“.lib”是使用与其他对象(如“x64\Release\main.obj”)不同的
基于趋势和季节性的时间序列预测
判断字符串是否为空
团体程序设计天梯赛练习题-持续更新中
Judge whether the string is empty
Rigid error: could not extract PIDs from PS output PIDS: [], Procs: [“bad pid
H5 sunflower operation
国内有正规安全的外汇交易商吗?
论文笔记:Universal Value Function Approximators
春风动力携手华为打造智慧园区标杆,未来工厂创新迈上新台阶
C#连接数据库完成增删改查操作
Figure introduction to neural networks (GNN, GCN)