我该如何编写此代码? [英] How do I write this code please?

查看:65
本文介绍了我该如何编写此代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

编写一个程序,接受10个学生的五个不同单位的标记。

然后程序应显示每个学生单元的总分。使用您选择的任何循环结构。



我尝试过:



它真的困扰我,我没能正确地做到这一点。

Write a program that accepts the marks for five different units for 10 students.
The program then should display the total score for the units of each student. Use any loop structure of your choice.

What I have tried:

It has really bothered me and I have failed to do it correctly.

推荐答案

基本输入/输出 - C ++教程 [ ^ ]。

阵列 - C ++教程 [< a href =http://www.cplusplus.com/doc/tutorial/arrays/target =_ blanktitle =New Window> ^ ]。

语句和流程控制 - C ++教程 [ ^ ]。
Basic Input/Output - C++ Tutorials[^].
Arrays - C++ Tutorials[^].
Statements and flow control - C++ Tutorials[^].


这篇关于我该如何编写此代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆