linux下GTK+2.0开发的单词数值计算器 综合运用CTK+提供的函数,按照一定的规则(具体见实验报告)计算一个单词或者一组单词的数值,并输出到屏幕或文件中。 1、 按照规则计算单词的值,如果 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 26个字母(全部用大写)的值分别为1 2 3 4 5 6 7 8 9 10 11 12 13 1 15 16 17 18 19 20 21 22 23 24 25 26, 如 WINJACK这个单
vb.net写的计算器 Public Class Form1 Inherits System.Windows.Forms.Form Private dblNumA As Double = 0 Private dblNumB As Double = 0 Shared oper As String = "" Shared point As Boolean = False Shared dotnum As Integer = 0 Private db lNnm As Double = 0 Priva
private void button17_Click(object sender, EventArgs e)//删除操作 { int ii; if (dot == 0) { if (i < 10) i = 0; else i = (i - i % 10) / 10; } else { i = ((i * kk)-(i * kk) % 10)/kk; kk = kk / 10; } textBox1.Text = (i).ToString(); }