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

您现在的位置是:虫虫源码 > C# > C# 快递费用计算软件 源码

C# 快递费用计算软件 源码

  • 资源大小:0.04M
  • 上传时间:2021-07-24
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: C#语言基础

资 源 简 介

     switch (aa)            {                case "香港":                    float a;                    a = float.Parse(textBox1.Text);                    // textBox1.Text = a.ToString();                    if (a <= 1)                    {                        label3.Text = "30";                    }                    else if (a > 1)                    {                        float b = a % 1;                        float c = a - b;                        if (b <= 0.5)                        {                            double res;                            if (b == 0)                            {                                 res = (c - 1) * 25 30;                                label3.Text = res.ToString();                            }                            else                            {                                res = (c - 1) * 25 30 12.5;                                label3.Text = res.ToString();                            }                         }                        else if (b > 0.5)                        {                            double res;                            res = c * 25 30;                            label3.Text = res.ToString();                        }                    }                     break;

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.218678s