ab翻转int a, b; a = int.Parse(txtbfirst.Text); b = int.Parse(txtbsecond.Text); a = a + b; b = a - b; a
来源:互联网 发布:淘宝双12活动报名入口 编辑:程序博客网 时间:2024/06/03 03:55
预览
代码
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
Strlen
{
public
partial
class
Form1 : Form
{
public
Form1()
{
InitializeComponent();
}
private
void
btnClose_Click(
object
sender, EventArgs e)
{
System.Environment.Exit(0);
}
private
void
btnfln_Click(
object
sender, EventArgs e)
{
try
{
int
a, b;
a =
int
.Parse(txtbfirst.Text);
b =
int
.Parse(txtbsecond.Text);
a = a + b;
b = a - b;
a = a - b;
// MessageBox.Show(a.ToString(),b.ToString());
//label3.Text = a.ToString() + b.ToString();
txtbfirst.Text = a.ToString();
txtbsecond.Text = b.ToString();
label3.Text =
"翻转后结果"
;
}
catch
(Exception ex)
{
MessageBox.Show(ex.Message);
}
}
}
}
- ab翻转int a, b; a = int.Parse(txtbfirst.Text); b = int.Parse(txtbsecond.Text); a = a + b; b = a - b; a
- int a,b; a=077; b=a|3;
- #include int inc(int a) { return(++a); } int multi(int*a,int*b,int*c) { return(*c=*a**b); }
- int & a = b 的 作用?
- int a = 0 与 int a(0) int a(b)
- A^B = B^A
- A^B = B^A
- A^B = B^A
- A^B=B^A
- int Random (int a, int b)
- const int* a = &b 和 const* int a = &b的区别
- typedef int (A::*Myfunction)(int); B* pB = new B; Myfunction pf = (Myfunction)(&B::Fb);
- Python a,b=b,a+b
- pow(double a,int b)
- A ab=new B();
- a,b=b,a+b 与 a=b,b=a+b
- gcd(int a, int b) //求最大公约数
- int[] a与int b[] 一样吗
- SAP中发外部Mail的方式
- 创建简单实用的Css Sprites
- oracle 数据库(ORA-01000)最多允许打开的游标数错误的问题的解决
- 降维方法
- 配置struts必须具备的JAR包
- ab翻转int a, b; a = int.Parse(txtbfirst.Text); b = int.Parse(txtbsecond.Text); a = a + b; b = a - b; a
- web 自动安装ca证书
- java常见的ClassNotFoundException
- C#操作messagebox
- Servlet实现方式及其生命周期
- Windows 注册表开机启动总结
- python错误TypeError: 'module' object is not callable 的解决方法
- Json 格式化转换
- 几种函数调用方式