我去救了 [英] I went a help

查看:77
本文介绍了我去救了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是C语言的新生。

,我没有任何相关的课程


C这个问题与任何一种家庭作业或作业


我正在学习C语言,我在这里执行了一些

问题,我去了这个程序的代码。如果你可以帮助我做b $ b请其他明智地为每个人认为你。

------------------ -------------------------------------------------- ----

编写一个程序,可以从

文本文件中读取名称,id和gpas列表,并将其存储到结构数组中。文本文件

可能如下所示:


Faisal 991234 3.5

Aref 212334 4.0

菲菲913542 2.7

Sarim 678235 1.3

Majed 124523 4.0

????????????????? ?????????

读完整个文件后,计算并打印

(i)所有gpas的最大值和相应的学生姓名和ID

(ii)所有gpas的最低要求以及相应的学生姓名和ID

(iii)所有gpas的平均值。


我必须知道这个程序的解决方案然后我会修改

解决某些问题吗?

I am a new student for language C
, I do not have any course related to

C and this question no related to any kind of home work or assignment

I am truing to learning a C language and i went to execute some
problem here and I went the code of this program . If you can help
me do it please other wise think you for every body .
------------------------------------------------------------------------
Write a program which can read a list of names, ids and gpas from a
text file and store it into an array of structures. The text file
might look as follows:

Faisal 991234 3.5
Aref 212334 4.0
Fifi 913542 2.7
Sarim 678235 1.3
Majed 124523 4.0
??????????????????????????

After the entire file is read, calculate the and print
(i)the maximum of all gpas and the corresponding student name and ID
(ii)the minimum of all gpas and the corresponding student name and ID
(iii)the average of all gpas.

I have to know the solution of this program then I will truing to
solve some kind of these Questions?

推荐答案

2006年3月15日星期三19:06,加入opined(

< qK *************** ***************@giganews.com>):
On Wednesday 15 March 2006 19:06, join opined (in
<qK******************************@giganews.com>) :
我是语言C的新生,我没有任何课程相关这个问题与任何类型的家庭作业或作业无关


如果你真的想学习C,请阅读一本好的教科书(试试K& R2 for a

开始),并尝试自己解决这个问题。一旦你碰到

a特定的问题,请回到这里询问。

我正在学习C语言,我在这里执行了一些
问题我去了这个程序的代码。如果你可以帮助我这样做,请其他明智的人认为你适合每一个身体。


以下是显而易见的家庭作业......即使你只是为了做自己而使用别人的b $ b - 学习,你会按照我上面的建议继续做好b $ b。

------------------ ------------------------------------------------- <编写一个程序,可以从
文本文件中读取名称,ID和gpas列表,并将其存储到结构数组中。文本文件
可能如下所示:

Faisal 991234 3.5
Aref 212334 4.0
Fifi 913542 2.7
Sarim 678235 1.3
Majed 124523 4.0
?????????????????????????????????? ????? ??读完整个文件后,计算并打印
(i)所有gpas的最大值和相应的学生姓名和ID
(ii)最小值所有的gpas和相应的学生姓名和ID
(iii)所有gpas的平均值。

我必须知道这个程序的解决方案然后我将努力解决一些问题这些问题有哪些?
I am a new student for language C, I do not have any course related to
C and this question no related to any kind of home work or assignment
If you really want to learn C, read a good textbook (try K&R2 for a
start), and try to solve this problem by yourself. Once you come across
a specific problem, come back here and ask.
I am truing to learning a C language and i went to execute some
problem here and I went the code of this program . If you can help
me do it please other wise think you for every body .
What follows is so obviously a homework assignment... Even if you''re
using somebody else''s just in order to do some self-learning, you''d
still be better off following my advice above.
-------------------------------------------------------------------
Write a program which can read a list of names, ids and gpas from a
text file and store it into an array of structures. The text file
might look as follows:

Faisal 991234 3.5
Aref 212334 4.0
Fifi 913542 2.7
Sarim 678235 1.3
Majed 124523 4.0
?????????????????????????????????????????????????? ??

After the entire file is read, calculate the and print
(i)the maximum of all gpas and the corresponding student name and ID
(ii)the minimum of all gpas and the corresponding student name and ID
(iii)the average of all gpas.

I have to know the solution of this program then I will truing to
solve some kind of these Questions?




-

BR,Vladimir


" Mind if我抽烟了?

如果你迸发出火焰而死,我不在乎!



--
BR, Vladimir

"Mind if I smoke?"
"I don''t care if you burst into flames and die!"




join写道:

join wrote:
我是语言C的新生
,我没有任何相关的课程

C和这个问题与任何类型的家庭作业或作业无关

我正在学习C语言,我在这里执行了一些
问题,我去了这个程序的代码。如果你可以帮助我这样做,请其他明智的人认为你适合每一个身体。
如果你的真正意图是学习C然后为什么不给它一个机会。尝试用
写一个程序,如果你遇到任何问题,comp.lang.c就在这里----------------------- ------------------------------------------------- <编写一个程序,可以从
文本文件中读取名称,ID和gpas列表,并将其存储到结构数组中。文本文件
可能如下所示:

Faisal 991234 3.5
Aref 212334 4.0
Fifi 913542 2.7
Sarim 678235 1.3
Majed 124523 4.0
............................................. ..... ............................
读完整个文件后,计算出来并打印
(i)所有gpas的最大值以及相应的学生姓名和ID
(ii)所有gpas的最低要求以及相应的学生姓名和ID
(iii)平均值所有gpas。

我必须知道这个程序的解决方案,然后我将努力解决某些问题吗?
I am a new student for language C
, I do not have any course related to

C and this question no related to any kind of home work or assignment

I am truing to learning a C language and i went to execute some
problem here and I went the code of this program . If you can help
me do it please other wise think you for every body . if ur real intent is to learn C then why don''t u give it a shot. Try to
write a program and if u face any problem, comp.lang.c is here ------------------------------------------------------------------------
Write a program which can read a list of names, ids and gpas from a
text file and store it into an array of structures. The text file
might look as follows:

Faisal 991234 3.5
Aref 212334 4.0
Fifi 913542 2.7
Sarim 678235 1.3
Majed 124523 4.0
.................................................. ............................

After the entire file is read, calculate the and print
(i)the maximum of all gpas and the corresponding student name and ID
(ii)the minimum of all gpas and the corresponding student name and ID
(iii)the average of all gpas.

I have to know the solution of this program then I will truing to
solve some kind of these Questions?






an********@gmail.com 写道:

an********@gmail.com wrote:

如果你的真正意图是学习C那么为什么不给它一个机会。尝试编写一个程序,如果你遇到任何问题,comp.lang.c就在这里
if ur real intent is to learn C then why don''t u give it a shot. Try
to write a program and if u face any problem, comp.lang.c is here



如果你不使用的话它会促进这个新闻组的沟通/>
简写如u和你好。


Brian


It facilitates communication on this newsgroup if you don''t use
shorthand like "u" and "ur".


Brian


这篇关于我去救了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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