Computer Science Canada Turing Help !! Urgent Please :( |
Author: | moneywin [ Thu Nov 10, 2011 9:31 pm ] |
Post subject: | Turing Help !! Urgent Please :( |
This post was removed at the request of the poster. It detailed a request for help that amounted to posting their homework. |
Author: | Beastinonyou [ Thu Nov 10, 2011 9:44 pm ] |
Post subject: | Re: Turing Help !! Urgent Please :( |
You need to identify what exactly you're having troubles doing. Seems like you've outlined what you need to have done in all entirety, but what have you yourself accomplished so far? People can help you solve your problems, but they need to know what they are first =P. |
Author: | Velocity [ Thu Nov 10, 2011 10:44 pm ] |
Post subject: | RE:Turing Help !! Urgent Please :( |
seems like your asking us to do the project for you, you will rarely get a response on here of someone who is actually willing to ; odds , 1 in 75 posts. I can do your project for you, for a price, in paypal or a game currency. Just lmk if your interested i garuntee you getting 95+. or your money back |
Author: | Beastinonyou [ Thu Nov 10, 2011 10:48 pm ] |
Post subject: | Re: RE:Turing Help !! Urgent Please :( |
Velocity @ Thu Nov 10, 2011 10:44 pm wrote: seems like your asking us to do the project for you, you will rarely get a response on here of someone who is actually willing to ; odds , 1 in 75 posts.
I can do your project for you, for a price, in paypal or a game currency. Just lmk if your interested i garuntee you getting 95+. or your money back You forgot to use your syntax tags: [syntax="sarcasm"] I can do your project for you [/sarcasm] |
Author: | moneywin [ Fri Nov 11, 2011 6:28 pm ] |
Post subject: | RE:Turing Help !! Urgent Please :( |
im sorry, i forgot to add the second part of this , where i ahve my example, to show which part im screwing up. |
Author: | moneywin [ Fri Nov 11, 2011 6:29 pm ] |
Post subject: | RE:Turing Help !! Urgent Please :( |
var destination, answer, qualityt, qualitytt : string var total : int total := 0 put " These are the choices" put "1. Hawaii" put "Please Place number of choice" get destination if destination = "1" then put "would you like to play by airplane or train?" get answer if answer = "train" then put " First Class or Economy" get qualityt if answer = "First Class" then total := total+600 elsif answer = "Economy" then total := total + 400 elsif answer = "airplane" then put "First Class or Economy" get qualitytt elsif answer = "First Class "then total := total +300 if answer = "Economy" then total := total +200 put "you have deceided to go to", destination, " the price of your travel is", total end if end if end if end if |
Author: | moneywin [ Fri Nov 11, 2011 6:31 pm ] |
Post subject: | RE:Turing Help !! Urgent Please :( |
i dont know why, bt my total can't show up on turing,. it awlays end? is it possible to have a if statemnt in another if statement with another if statement ? and can you tell me what part i did wrong to why my total doesn't show up ? |
Author: | Tony [ Fri Nov 11, 2011 7:59 pm ] | ||||
Post subject: | Re: RE:Turing Help !! Urgent Please :( | ||||
the problem is moneywin @ Fri Nov 11, 2011 6:29 pm wrote: end if end if end if end if Every time you see such pattern, it probably means something is wrong. In your case, "put" appears only if all four if answers are "correct". Which series of answers must one give to arrive at that condition? What about any others? You also have other issues. To debug, replace every
with
and see if your code flows in the way that you think it flows. Hint: it's not. |