当前位置:网站首页>100人成绩的平均
100人成绩的平均
2022-06-28 19:28:00 【Yuyy】
本文最后更新于 1170 天前,其中的信息可能已经有所发展或是发生改变。
#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("请输入第%d位同学的成绩\n",k);
scanf("%d", &s[i]);
sum = sum + s[i];
}
sum = sum / 100;
printf("这100同学的平均成绩为\n",sum);
return 0;
}Post Views: 298
边栏推荐
- Grafana draws the trend chart
- mysql全解 Ubuntu/win10
- Ffmpeg learning summary
- pd. Difference between before and after cut interval parameter setting
- 图神经网络入门 (GNN, GCN)
- 多测师肖sirapp中riginal error: Could not extract PIDs from ps output. PIDS: [], Procs: [“bad pid
- 微信小程序_8,视图与逻辑
- Matlab 2D or 3D triangulation
- 大火的虚拟人在哪些产业开始发力?
- 颜色渐变的FontAwesome图标
猜你喜欢

图神经网络入门 (GNN, GCN)

Chunfeng power and Huawei work together to build a smart Park benchmark, and the future factory innovation will reach a new level

腾讯汤道生:面向数实融合新世界,开发者是最重要的“建筑师”

Win11底部状态栏如何换成黑色?Win11底部状态栏换黑色的方法

令人惊艳的NanoPC-T4(RK3399)作为工作站的初始配置和相关应用

In which industries did the fire virtual human start to make efforts?

pd.cut 区间参数设定之前后区别

Build halo blog in arm version rk3399

MDM data analysis function description

h5向日葵作业
随机推荐
Building tin with point cloud
NanoPC-T4(RK3399) game1 oled(I2C)显示时间天气温度
智能计算系统2 bangc算子开发的demo (CPU和MLU270的异构编程流程)
请问下flinkcdc用flinksql提交的话只能一个表提交一个任务吗?那有几千张表的时候还能这么
月环比sql实现
h5向日葵作业
MDM数据分析功能说明
秋招经验分享 | 银行笔面试该怎么准备
使用点云构建不规则三角网TIN
Month on month SQL implementation
sql面试题:求连续最大登录天数
Cross cluster deployment of helm applications using karmada
带你手把手实现grafana双轴图
How to remove dataframe field column names
Find out the users who log in for 7 consecutive days and 30 consecutive days
AOSP Tsinghua image download error resolution
电脑如何检查驱动程序是否正常
Markdown drawing Mermaid practical tutorial
MDM data analysis function description
C language - function knowledge points