有谁知道我在哪里以及如何编写此代码

有谁知道我在哪里以及如何编写此代码

本文介绍了Visual Studio 2010:有谁知道我在哪里以及如何编写此代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我应该将3个文本框放置在我要输入数字的位置,然后放置一个总计按钮以将三个数字相加然后除(数字1 +数字2 +数字3)/3 .在总计按钮上,我还要编写代码,以便在计算总计时标签会更改颜色和文本.我需要有关如何以及在哪里写的帮助,(Number1 + Numnber2 + Number3)/3在我的代码上.同样在我的工作表中,它说> = 96和< 99,但<"没有用,它给我一个错误的蓝色错误 行,所以我这样写:

I am supposed to put 3 text boxes where I am suppose to input numbers and then put a total button to add the three numbers then divide(Number1 + Numnber2 + Number3) /3. On the total button i am also writing the code so that a label changes the color and text when the total is calculated. I need help on how and where to write (Number1 + Numnber2 + Number3) /3 on my code. Also on my worksheet it said >= 96 and < 99 but the "<" did not work it gave me an error blue squiggly line so i wrote it like this:


推荐答案


这篇关于Visual Studio 2010:有谁知道我在哪里以及如何编写此代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 08:30