c#中的简单标记表程序 [英] simple marksheet program in c#

查看:63
本文介绍了c#中的简单标记表程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想制作一个包含5个文本框的表单。
前4个文本框的
接受输入。文本框5显示结果。

条件:

表单包含3个按钮:

1.它显示获得的标记总数。

2.它显示了获得的分数百分比,但如果在任何文本框中输入的数字小于33,则显示失败

3.它显示等级:

如果总计> = 60打印a;如果总> = 45打印b;如果总> = 33,则打印否则失败;但它在任何一个主题中获得的数字小于33它也表示失败。

i want to make a form that contain 5 text box.
for first 4 text boxes take input. and the textbox 5 shows the result.
conditions:
the form contains 3 buttons:
1. it shows the total of marks obtain.
2. it shows the percentage of marks obtain but if the number input in any text box is less than 33 it shows fail
3. it shows the grade:
if total>=60 print a; if total>=45 print b; if total>=33 print c else fail; but it number obtain in any subject is less than 33 it also shows fail.

推荐答案

首先,你不能同时使用C,C ++和C#程序。你的标签显示你是多么无能为力。第二。这是一项家庭作业。如果你不这样做,请与老师交谈,或退出课程。不要让我们为你做。
First of all, you can't use C, C++ and C# in the same program. Your tags show how clueless you are. Second. this is a homework assignment. IF you cna't do it, talk to your teacher, or quit your course. Don't ask us to do it for you.


我没有看到第五项使用 TextBox 的意义(总)。如果您不打算输入,为什么不使用标签
I don't see the point of using a TextBox for the fifth item (Total). If you are not going to have input, why not use a Label.


这篇关于c#中的简单标记表程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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