Synchronization of old projects

Part1
This commit is contained in:
2025-09-30 16:46:01 +08:00
parent 116b65164b
commit 4e1548abe2
167 changed files with 8668 additions and 43 deletions
+21
View File
@@ -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}");
}
}
}