首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > C# > SAT, GPA

SAT, GPA

  • 资源大小:637.46 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: c#

资 源 简 介

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Assignment_2_1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void btnCalculate_Click(object sender, EventArgs e) { int GPA; double SAT; GPA = Convert.ToInt32(txtGPA.Text); SAT = Convert.ToDouble(txtSAT.Text); lblResult txtGPA txtSAT btn if (GPA > 100 || SAT > 1200) { MessageBox.Show("GPA > 100 or SAT > 1200 NOT ALLOW", "Input too large", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); } else { if (GPA > 50) lblResult.Text = "Admit"; else { if (SAT>800) lblResult.Text = "Co

文 件 列 表

sales
Sales and Inventory System.sln
Sales and Inventory System.suo
WindowsFormsApplication4
VIP VIP
0.191418s