uk lottery programme

C

carl bloc

Has any body got any code for this brief that a friend has to do, its
for the uk version of the lottery i.e 6 balls and a bouns ball.

1. a control loop is required to determine the operation required by
the user
2. use of a switch structure to execute required operation
3. read old draw data from file into arrays on programme start up
4. allow the user to enter the latest data
5. allow the user to modify existing draw data
6. view draw data for a selected week given the date of the draw or
week number
7. save the draw dta from arrays to the file on programme exit
8. the programme must validate that the ball numbers input are in the
correct range (between 1 and 49) and no duplicates.


Thanks
 
R

Richard Bos

Has any body got any code for this brief that a friend has to do,

Why doesn't "a friend" do his own homework? Alternatively, if he is too
much of a lazy sod to do so, why don't _you_ do his homework for him
instead of asking to be spoon-fed? You won't be learning anything by
shirking your duties, you know.

Richard
 
A

Alan Balmer

Has any body got any code for this brief that a friend has to do, its
for the uk version of the lottery i.e 6 balls and a bouns ball.

Oddly enough, a troll named (e-mail address removed) just appeared in
comp.arch.embedded. Any relation?
 
R

Rob Morris

Alan said:
Oddly enough, a troll named (e-mail address removed) just appeared in
comp.arch.embedded. Any relation?

tesco.net is the ISP run by the Tesco supermarket chain. Moms and pops
(including mine) who saw a shiny internet CD at the counter when buying
their groceries. So not everyone on it is a troll :)

(Just FYI, HTH)
 
R

Richard Bos

Alan Balmer said:
Oddly enough, a troll named (e-mail address removed) just appeared in
comp.arch.embedded. Any relation?

Probably not. Tesco is a large chain of (discount?) super markets, and
from the looks of it tesco.net is their cheap ISP service.

Richard
 
A

Alan Balmer

tesco.net is the ISP run by the Tesco supermarket chain. Moms and pops
(including mine) who saw a shiny internet CD at the counter when buying
their groceries. So not everyone on it is a troll :)
I suppose not ;-) It was just the coincidence of timing and subject
matter type that caught my eye.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top