Home > Back-end >  Embedded programming (c)
Embedded programming (c)

Time:12-05

Embedded programming: assuming that there is now a ticket hall, assuming that can accommodate a maximum of 100 individuals, if there is a surplus of less than 100 people and votes, you can allow users to buy a ticket, if more than 10 individuals or tickets sold out, the more wait for 10 seconds, if after 10 s hall is less than 100 people and with the remaining votes, is allowed to enter the ticket, otherwise will end the program directly, assume that a total of only 30 tickets, and every one can buy at most five tickets,

CodePudding user response:

This and embedded have what relation?

CodePudding user response:

Well, this is embedded to the teacher's class assignments, bosses can give directions

CodePudding user response:

This topic is not difficult, with an array of what, add some judgment, she should try to write,
  • Related