I am in a business class. We are required to host an event that will be able to make money from patrons. We chose a car show. We are supposed to record the names of the patrons. I thought instead of writing it that a program can be used. Can someone please help me to do so. A computer science teacher from our school managed to give us guidelines, although he couldn't help us write the program itself. I think he said that the language pascal, if that is the correct name, should be the one to be used.
(1) Develop a program that records the names of patrons (at the door) and their e-mail addresses; data is terminated when “END” is entered for the name. Ensure your input does not contain numbers when recording a patron’s name.
(2) After recording the names, the program must allow the user to search for a patron (by name). The user is allowed to use the search as many times as he/she likes, until the word “END” is entered for a search query.
During the search, if the patron is found, the patron’s name and e-mail address is displayed. If patrons have identical names, all records (patron’s name and e-mail address) are displayed. If the patron is not found, an appropriate message is displayed (The message should read “I am sorry, but the name of the patron you entered was not found. Please try again”
(3) Lastly, after terminating the search, the program must print to the screen all the records stored. After the user has viewed this data, prompt the user to terminate the data.
Thanks in advance, I barely know anything about programming
6 replies to this topic
#1
Posted 10 February 2012 - 07:34 AM
|
|
|
#2
Posted 10 February 2012 - 08:39 AM
mougi said:
I think he said that the language pascal, if that is the correct name, should be the one to be used.
mougi said:
data is terminated when “END” is entered for the name.
mougi said:
(2) After recording the names, the program must allow the user to search for a patron (by name). The user is allowed to use the search as many times as he/she likes, until the word “END” is entered for a search query.
This kind of application could even be easily built with a number of visual database building tools out there. You could even use Microsoft Access if you wished, since it's such a simple project and the requirements aren't complex at all. Since you're coming from a non-programming background, Access might be your best choice.
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
– Douglas Hofstadter, Gödel, Escher, Bach: An Eternal Golden Braid
#3
Posted 10 February 2012 - 01:39 PM
When it comes to school though they do expect you to follow the guidelines. If you don't have to use pascal I can throw together a Console or GUI app in C#. Then again how will you learn?
#4
Posted 10 February 2012 - 02:45 PM
logicPwn said:
When it comes to school though they do expect you to follow the guidelines. If you don't have to use pascal I can throw together a Console or GUI app in C#. Then again how will you learn?
It sounds to me based on the original poster's wording that it's not the software itself which is his assignment, but rather the event he's putting on. His choice of using a computer program for registration in lieu of paper forms is simply an ancillary one. The computer science professor was probably giving guidelines as he would see the project implemented, if it were his assignment. I'm guessing in the business college, they don't care how it's implemented, as long as it works.
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
– Douglas Hofstadter, Gödel, Escher, Bach: An Eternal Golden Braid
#5
Posted 10 February 2012 - 05:04 PM
Could be true. Nice logic :)
#6
Posted 12 February 2012 - 11:10 AM
Hi.
Contact me (through email), and I'll write it.
Update: Done. Attached executable!
Contact me (through email), and I'll write it.
Update: Done. Attached executable!
Attached Files
Edited by Soryy708, 12 February 2012 - 12:24 PM.
#7
Posted 14 February 2012 - 01:45 PM
Hey thanks, I appreciate it
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top










