Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Beginning-Exit Loop
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
lovevc




PostPosted: Mon Feb 04, 2008 10:40 pm   Post subject: Beginning-Exit Loop

Create a colour mastermind program that allows the user to enter a series of 3 colours and will then check if they guessed the colours correctly.
The colour choices should be referred to by a single capital letter (e.g. R for red).

You must give the user at least 6 colours to choose between.

Your program will count the number of times it takes the user to guess the correct colour series.

Define the correct colour series as 3 separate constants.

After each series of guesses you must tell the user whether they got any of the colours correctly.

Make sure you put a title centered on the output screen and give an introduction.

When the user finally gets the correct colour series, congratulate them and tell them how many guesses it took for them to get the right answer.

The program will wait on the output screen until the user types the word exit

Shocked
SOMEBODY HELP ME DO THIS PLZ!!!!
Sponsor
Sponsor
Sponsor
sponsor
syntax_error




PostPosted: Mon Feb 04, 2008 10:52 pm   Post subject: Re: Beginning-Exit Loop

get a start on your own first create a attack plan; DO IT ON PAPER FIRST!

I cant stress how much you should get the logic on PAPER first then code it; btw no one here will tell you or do your code for you not the point of this forum

After you get the idea how to do it post the plan then we will help with how to play out that logic

so first TRY it yourself.
TokenHerbz




PostPosted: Mon Feb 04, 2008 11:51 pm   Post subject: RE:Beginning-Exit Loop

I'll do it for all your bits! and +kara rating!


......not...
Carey




PostPosted: Tue Feb 05, 2008 12:03 pm   Post subject: RE:Beginning-Exit Loop

we do not just give out programming assignments here, we provide help. Do something yourself first, then show us what you have and we will give you suggestions on how to improve.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: