预订系统阵列 [英] Booking System Array

查看:78
本文介绍了预订系统阵列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试开发一个在线预订系统.我需要的是在公交车满员时提醒乘客.一辆巴士最多可容纳60位乘客.请帮助

i am trying to develop an online booking system. what i need is to alert the passengers when the bus is full. one bus can only take up to 60 passengers. please help

推荐答案

这必须是家庭作业.因此,尝试自己做.当您有60笔预订时,公交车已满.鉴于您没有告诉我们在哪里存放乘客等,我觉得您甚至还没有开始.与您的老师交谈,他们需要知道您很迷茫,甚至无法尝试.
This has to be homework. So, try to do it yourself. When you have 60 bookings, the bus is full. Given you don''t tell us where you store passengers, etc, I feel like you haven''t even started this. Talk to your teacher, they need to know that you''re so lost, you can''t even try.


为什么不尝试付出一些努力,然后再提出具体问题
无论您是否打算发出警报,都可以,我们没问题,只需在插入新的One之前先进行检查乘客编号的编码即可.
您可以计算已填充的行数,并可以与60的有限席位进行比较.
我相信您的代码将能够说出糟糕的所有座位,请选择其他旅行日期"
导航 MSDN- [使用ASP.NET访问数据] [ ^ ]

随时返回具体问题"和您的努力.
Why not you trying to give some effort and come back with specific question
whatever if you are planning to give alert then its ok we have no problem just go and code with checking number of Passenger before Inserting new One.
You can count Number of Filled rows and can Compare to your Limited Seat which is 60.
I am sure your code will able to say "Oops All Seat are Filled Choose Other Days for Travel"
Navigate MSDN-[Accessing Data with ASP.NET][^]

Feel free to come back with Specific question and your Effort.


>>自去年以来一直在尝试使用Google
真的吗?
DX航空公司源代码 [
>> been trying to google this since last year
Really?
DX Airways Source Code[^]

This will tell you how to solve your problem, but you will need to work your way through it.


Best regards
Espen Harlinn


这篇关于预订系统阵列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆