学生成绩管理 数组应用

[复制链接]
查看11 | 回复2 | 2011-12-18 23:46:13 | 显示全部楼层 |阅读模式
这个程序已经帮你写完了,给分吧(已经调试和验证通过)#include#include#include#define N 3typedef struct {longstunum;charname[30];float mathscore;float englishscore;float computerscore;float sumscore;}stuscoreinfo;void calcuteSum(stuscoreinfo *stu)/*计算每个学生的总分*/{int i = 0;for(i...
回复

使用道具 举报

千问 | 2011-12-18 23:46:13 | 显示全部楼层
FileOutputStream fosOut=new FileOutputStream("./output.txt");do{intR=fisIn.read();if(intR!=-1){if(intR>=65&&intR<=90){intA++;intR+=...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行