C#编程试题,在线等答案!!!

An internet café wants to select the customers who are eligible to apply membership @cafe. Their selection criteria is “total number of hours the customer has used is more than or equal to 20hours, assume that the individual customer’s number of hours used is calculated by the staff manually before this program was implemented.”
1. develop a user class to store the following user information.
2. initialize using the constructor class
3. create get/set properties
4. develop a class named AssessUser to keep an array of all user object
5. the data must be able to add(),edit(), delete() and also search() which performs the selection of eligible users.

using System;
using System.Collection.Generic;

namespace ConsoleApplication1{
public class Customer{
string _id;
int _totalHours;

public string Id{
get;
set;
}

public int TotalHours{
get;
set;
}

public Customer (string id, int totalHours){
_id = id;
_totalHours = totalHours;
}
}

public class AssessUser : List<Customer>{
}
}
温馨提示:内容为网友见解,仅供参考
无其他回答

在线等,急求一道C语言的编程题!!!正确答案直接发20元微信红包
&b[i].x,&b[i].y); flag=0; for(i=0;i<m;i++) { if(mul(a[0],a[1],b[i])>=0||mul(a[0],a[n-1],b[i])<=0) { flag=1; goto loop; } low=2; high=n-1; while(low<high) ...

C语言编程问题!!高手救命,在线等答案
分析过程:重新定义结构体:typedef struct student { float c;float java;} STU;然后在for循环内仅使用:scanf("%f",&stu[i].c); \/\/ 或者&(stu[i].c)scanf("%f",&stu[i].java); \/\/ 或者&(stu[i].java)问题依旧。但如果此时已经定义了float fTmp;并在循环体内这样写:scanf("%f",&...

C#整除判断 在线等答案
if (B != 0){ Console.WriteLine("不可以整除"); } else { Console.WriteLine("可整除"); }

【跪求】【在线一个小时等答案】电脑编程类二进制的问题,
0个的时候是1,8个的时候也是1,2、4、6个的时候,是排列组合问题,如8个中取2个、取4个、取6个,即C82、C84、C86,所以最终答案就是 1 + C82 + C84 + C86 + 1 = 128 你这个是NOIP 2011普及组初赛题吧,我也是刚考完的。

我的c#程序模拟鼠标点击调试出问题了,下面有截图,很急,在线等答案
[DllImport("user32.dll")] private static extern bool SetCursorPos(int x, int y); [DllImport("user32.dll", EntryPoint = "SetCursorPos")] private static extern bool SetCursorPos1(int x, int y); [STAThread] public static void Main(string[] args) { int x ...

汇编语言程序设计题目,在线等答案!!!急!
DISP FU:LEA DX, MSG2 DISP:MOV AH, 9 ;显示字符串.INT 21H MOV AH, 4CH INT 21H CODE ENDS END START ;--- 其它题目,也回答了不少,可见楼主提问的其它网页。

求第三题答案,详细解题过程急,在线等!!!
下载百度知道APP,抢鲜体验 使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。 扫描二维码下载× 个人、企业类侵权投诉 违法有害信息,请在下方选择后提交 类别 色情低俗 涉嫌违法犯罪 时政信息不实 垃圾广告 低质灌水 我们会通过消息、邮箱等方式尽快将举报结果通知您。 说明 0\/200 提交 取消...

在线等候答案。。求速度!!!
第一盒是红色,第二盒是绿色,第三盒是黑色,第四盒是黄色,第五盒是灰色

求各位大神给出答案,在线等,急!!!
设a+b=6 则10a十b十9 10a十b十10一1 =10(a十1)十b一1 则a十1十b一1=a十b=6 则只要a十b=6即可 则15 24 33 42 51 60为答案。

c++问题 在线等答案
第一个 include <iostream> using namespace std;int main(){ int apple;int days=0;float sum=0;for (apple=2;apple<100;apple=apple*2){ if (apple<100){ sum=sum+(apple*0.8);days++;} } cout<<"Average:"<<sum\/days<<endl;return 0;} 第二个 include <iostream> using name...

相似回答