using System;
using System.Collections.Generic;
using System.Text;
namespace Test
{
class Program
{
static void Main(string[] args)
{
double d = 2.5;
int x =(int) d + 1;
Console.WriteLine(x);
}
}
}
using System.Collections.Generic;
using System.Text;
namespace Test
{
class Program
{
static void Main(string[] args)
{
double d = 2.5;
int x =(int) d + 1;
Console.WriteLine(x);
}
}
}
2016-01-27
}
else if(job=="科长")//请输入
{
Console.WriteLine("发枣泥月饼");
}
else if(job=="科员")//请输入
{
Console.WriteLine("发五仁月饼");
然道是自己亲自打字一遍才可以吗?反正我是打了才可以
else if(job=="科长")//请输入
{
Console.WriteLine("发枣泥月饼");
}
else if(job=="科员")//请输入
{
Console.WriteLine("发五仁月饼");
然道是自己亲自打字一遍才可以吗?反正我是打了才可以
2016-01-27
最赞回答 / MadMarical
你好。对于程序语言来说,并列结构使用英文符号, 如果表示一个语句结束使用英文符号 ; 在程序语言中最好全部使用英文表示,无论变量还是符号都应该使用英文。而注释内容可以使用中文来帮助协调。这样处理的目的是因为我们需要使用大家都能看得懂的程序,这样才便于维护。你让外国人读中文,无疑是读天书。这也是英文的历史地位决定的。
2016-01-26