100orSAT>1200NOTALLOW","Inputtoolarge",MessageBoxButtons.OK,MessageBoxIcon.Exclamation);}else{if(GPA>50)lblResult.Text="Admit";else{if(SAT>800)lblResult.Text="Co-IMDN开发者社群-imdn.cn"> 100orSAT>1200NOTALLOW","Inputtoolarge",MessageBoxButtons.OK,MessageBoxIcon.Exclamation);}else{if(GPA>50)lblResult.Text="Admit";else{if(SAT>800)lblResult.Text="Co - IMDN开发者社群-imdn.cn">
登录
首页 » c# » SAT, GPA

SAT, GPA

于 2022-06-30 发布 文件大小:637.46 kB
0 177
下载积分: 2 下载次数: 1

代码说明:

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

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 蓝桥杯嵌入式第七届模拟题内附题目
    蓝桥杯第七届模拟题
    2020-12-01下载
    积分:1
  • C#写的图象函数程序画图程序,可以画各种函数曲线。供初学者参考...
    C#写的图象函数程序画图程序,可以画各种函数曲线。供初学者参考-C# Write image function procedure Paint program, you can draw a variety of function curves. Reference for beginners
    2023-05-01 10:20:03下载
    积分:1
  • MeshLab_v100_src
    MeshLab is an open source, portable, and extendible system for the processing and editing of unstructured 3D triangular meshes. The system is aimed to help the processing of the typical not-so-small unstructured models arising in 3D scanning, providing a set of tools for editing, cleaning, healing, inspecting, rendering and converting this kind of meshes.(MeshLab is an open source, portable, and extendible system for the processing and ed iting of 3D unstructured triangular meshes. Th e system is aimed to help the processing of the ty pical not-so-small unstructured models arisi Vi in 3D scanning, providing a set of tools for editing, cleaning, healing, inspecting, rendering and converting this kind of meshes.)
    2007-03-13 10:04:41下载
    积分:1
  • 成绩管理系统 鼠标界面
    成绩管理系统 鼠标界面版。包含可执行文件,完整程序。提示:运行程序前先将《学生信息成绩表》放入到F盘!附有成绩单示例。C++语言
    2022-05-28 20:06:28下载
    积分:1
  • E柜VC管理软件
    护照、电子港澳通行证一般是在公安局出入境柜台存储和发放,人力成本较高,现通过护照、电子港澳通行证存取设备,俗称E柜,实现自动化管理,本案例是E柜VC管理软件的原代码,希望给从事本行业的新进人员一点启发
    2022-06-20 07:39:20下载
    积分:1
  • 层次分析法
    通过使用matlab,对层次分析法进行求解,从而进一步确定权重,更快的解决问题。(By using matlab, the analytic hierarchy process (AHP) is solved to further determine the weight and solve the problem more quickly.)
    2019-04-18 08:56:05下载
    积分:1
  • 数据结构教程(第5版)-源程序
    数据结构教程(第五版)源程序 李春葆主编版本 书内的程序都有(Data structure tutorials (Fifth Edition) source program Edition of Li Chunbao The programs in the book are complete)
    2020-07-02 21:40:01下载
    积分:1
  • spincontrol
    简单介绍了上下控件的使用方法,对于初学者,有一定的帮助。(Briefly introduced the use of upper and lower control method, for beginners, there are certainly helpful to them.)
    2007-08-16 21:25:17下载
    积分:1
  • BEM2D-CPP
    边界元法C++源程序,包含全部源代码和输入输出文件,学习研究用,可自行扩展(The C++ source code of Boundary element method, mainly for plane elasticity and can be extended.)
    2016-01-07 21:51:21下载
    积分:1
  • 虚拟示波器
    基于labview平台的虚拟示波器,能实现基本的示波器功能。(The virtual oscilloscope based on LabVIEW platform can realize the basic oscilloscope function.)
    2021-04-13 19:48:55下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载