using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace 超市仓库
{
class 前台:cangku
{
static void Main(string[] args)
{
string name;
int num;
double price=0;
cangku k = new cangku();
int num1 = 200;
sp[] s=new sp[num1];
for (int i = 0; i < num1; i++)
{
s[i] = new sp();
s[i].ID1 = "0";
}
k.Spnum= 0;
k.Spsum = num1;
k.addsp(s,"食品","哇哈哈",100,5);
k.addsp (s,"食品","huo",100,4);
k.a
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace 超市仓库
{
class 前台:cangku
{
static void Main(string[] args)
{
string name;
int num;
double price=0;
cangku k = new cangku();
int num1 = 200;
sp[] s=new sp[num1];
for (int i = 0; i < num1; i++)
{
s[i] = new sp();
s[i].ID1 = "0";
}
k.Spnum= 0;
k.Spsum = num1;
k.addsp(s,"食品","哇哈哈",100,5);
k.addsp (s,"食品","huo",100,4);
k.a