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 126
下载积分: 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 个回复

  • Leach
    现成的——leach协议剩余节点和时间关系的awk脚本(Ready-made- leach agreement between the remaining nodes and the time awk script)
    2010-12-03 15:36:00下载
    积分:1
  • mad_exen_v1.2
    大名鼎鼎的mad播放程序,本人做了一些修改,使之更优秀(Mad famous player, I make some modifications to make it better)
    2008-05-08 21:19:24下载
    积分:1
  • 67506281TaiWanFont
    很多TFT都带有字库,直接调用函数就可以显示字库里面的内容,这个就是一个字库集,需要的朋友看一下(TFT comes with a lot of fonts, you can directly call the function displays the contents of the font inside, this is a character set, need to look at a friend)
    2009-11-17 15:36:13下载
    积分:1
  • USB_Detection
    源码为C语言基于对话框的应用程序,可以检测USB设备的插入和拔出!(C language source code for the dialog-based applications, can detect USB device insertion and removal!)
    2011-05-18 09:27:22下载
    积分:1
  • Enterprise asset management system (c# source code).
    企业资产管理系统(c#源码),内含数据库备份。-Enterprise asset management system (c# source code).
    2022-03-30 04:49:29下载
    积分:1
  • 颜色空间转换
    代码主要为颜色空间转换matlab程序,希望能帮到小伙伴们
    2022-07-28 04:33:49下载
    积分:1
  • c# 打印报表 例子源码下载
    c# 打印报表 例子源码下载
    2014-12-16下载
    积分:1
  • MFC-OpenCV
    OpenCV视频教程,目标检测与跟踪,车辆特征识别,人脸识别,字符识别,特征提取, 图像分割,手势识别,计算机视觉视频教程,opencv基础知识 (OpenCV is released under a BSD license and hence it’s free for both academic and commercial use. It has C++, C, Python and Java interfaces )
    2013-08-19 07:19:28下载
    积分:1
  • sound
    给音频降噪,还原清晰声音,自动增益开源代码(Audio reduction, restore clear voice, auto gain open source code.)
    2018-11-14 09:30:11下载
    积分:1
  • Oscillograph
    基于MFC开发的简易示波器,可多路显示,可产生参考波形(To develop a simple MFC-based oscilloscopes, multi-display, can produce reference waveform)
    2013-06-29 13:01:35下载
    积分:1
  • 696518资源总数
  • 106164会员总数
  • 18今日下载