Grade.cpp [英] Grade.cpp

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

问题描述

我真的需要帮助我有这个程序搞砸了,无法弄清楚为什么我无法访问我的char级别恳求帮助C学习者


Grade.cpp

I really need help I have got this program all screwed and cant figure out why I cant access my char grades pleade help C learner

Grade.cpp

展开 | 选择 | Wrap | 行号

推荐答案

你的功能在大多数情况下看起来很好。

很奇怪你有你的功能然而,中的原型。

你能更清楚地解释这个问题吗?

你在主,但你永远不会调用你的任何函数来计算e平均值并确定字母等级。
Your functions look fine for the most part.
Weird that you have your function prototypes in main, though.
Can you explain the problem more clearly?
You go to all the trouble of inputting the grades in main, but you never call any of your functions to calculate the average and determine the letter grade.


我遇到的问题是获得char级别

继承人发布后我带来的内容


似乎没有以前的功能,如果初始化我没有得到我真的很沮丧



删除完整代码
The problem I have is getting the char grades
heres what i came with after I posted

It seems like none of the previous fuctions if initialized I dont get I am getting really frustrated


removed full code



您在 main 中输入成绩时遇到了麻烦,但是您从未调用任何函数来计算平均值和确定字母等级。
You go to all the trouble of inputting the grades in main, but you never call any of your functions to calculate the average and determine the letter grade.



首先请在发布代码时使用代码标签。其次,你从不称呼你的职能!另外,你的字母等级函数原型说它需要接收一个int,但实际的函数定义你说它收到一个双倍。

First PLEASE use the code tags when posting code. Second you never call your functions! Also, your letter grade function prototype says it takes receives an int, but the actual function definition you say it receives a double.


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

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