Synchronization of old projects
Part1
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
|
||||
namespace Lesson2变量
|
||||
{
|
||||
class classwork
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
double num = 36.6;
|
||||
Console.WriteLine(num);
|
||||
string name, sex, addr;
|
||||
name = "zj";
|
||||
sex = "male";
|
||||
addr = "jssszsgyyq";
|
||||
int age = 21;
|
||||
float hight = 192f, weight = 79.5f;
|
||||
Console.WriteLine("年龄:" + age);
|
||||
Console.WriteLine($"姓名:{name}\n年龄:{age}\n身高:{hight}体重:{weight}家庭住址:{addr}");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user