.冒泡排序 Console.WriteLine("对集合里的数进行排序,请输入第一个数:"); int a = int.Parse(Console.ReadLine()); Console.WriteLine("对集合里的数进行排序,请输入第二个数:"); int b = int.Parse(Console.ReadLine()); Console.WriteLine("对集合里的数进行排序,请输入第三个数:"); int c = int.Par
3.1节 练习3.1: 使用恰当的using声明重做1.4.1节(第11页)和2.6.2节(第67页)的练习 #ifdef 1 #include <iostream> using std::cin; using std::cout; using std::endl; int main(void) { int sum = 0; int i = 50; while (i <= 100) { sum += i; i++; } cout << sum << endl; r
[C++Primer]第五版[学习笔记]习题解答第三章 ps:答案是个人在学习过程中书写,可能存在错漏之处,仅作参考. 作者:cosefy Date: 2020/1/10 第三章:字符串,向量和数组 练习3.2: #include<iostream> #include<string> using std::string; using std::cout; using std::cin; using std::endl; int main() { string line; //whi
class Bank { //Dictionary<long,Account> dictionary=new Dictionary<long,Account>(); DataTable table = new DataTable();//存储,储蓄账户集合 DataTable table1 = new DataTable();//存储信用账户集合 SavingAccount account = new SavingAccount();//储蓄账户类的实例化 CreditAccoun
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ATM.Day02 { class Bank { public int index; ]; public Account account = new Account(); public CreditAccount credit = new Cred
class Card { private string name; public string Name { get { return name; } set { name = value; } } private string age; public string Age { get { return age; } set { age = value; } } private string sex; public string Sex { get { return sex; } set { s
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace day1 { class PersonCard { private string name; public string Name //姓名 { get { return name; } set { name = value; } } privat
题一答案: Console.WriteLine("请输入a"); int a = Convert.ToInt32(Console.ReadLine()); Console.WriteLine("请输入b"); int b = Convert.ToInt32(Console.ReadLine()); Console.WriteLine("请输入c"); int c = Convert.ToInt32(Console.ReadLine()); ; 写
python全栈开发中级班全程笔记 第三章:员工信息增删改查作业代码 作业要求: 员工增删改查表用代码实现一个简单的员工信息增删改查表需求: 1.支持模糊查询,(1.find name ,age form staff_table where age > 22(查找 staff_fable (文件)内所有 age > 22 的name 和 age全部打印)(2.find * from staff_table where dept = "IT"(查找所有部门是 IT的所有列打印