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

Username:   Password: 
 RegisterRegister   
 Biggest Number
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Turkz3ar




PostPosted: Tue Apr 08, 2008 6:46 pm   Post subject: Biggest Number

I have class assignment to do on Wednesday.
Q: Make turing program that asks biggest number of A,B,C inputs needs to get by user. I'll be satisfied if you could help me.
Sponsor
Sponsor
Sponsor
sponsor
Mackie




PostPosted: Tue Apr 08, 2008 6:51 pm   Post subject: RE:Biggest Number

We can't do your work for you. Try it on your own first, then post what you have and we can help you with any problems you have.

P.S.(For DaveAnngus) If you do this one for him DaveAngus... I swear...
Nick




PostPosted: Tue Apr 08, 2008 6:55 pm   Post subject: RE:Biggest Number

for user input check out get, as for biggest number check out max

if you hit F10 in the Turing Window, a help will appear, browse through that to find get and max and find out how they work
DaveAngus




PostPosted: Wed Apr 09, 2008 7:22 am   Post subject: RE:Biggest Number

Turkz3ar,
you will need to think about what puts and gets you want to use.
Your going to need your three variables that will store your A,B,and C numbers.
Then your going to have to create a code that will determine the size of the numbers and put them back in the proper order.
I dont know if you guys have used procedures and functions but maybe look into using one of those. I wont tell you which one but one will work well.
Have fun with this!
-Dave

p.s. (For Mackie)... Does this pass your specs?
Tallguy




PostPosted: Fri Apr 11, 2008 10:03 am   Post subject: RE:Biggest Number

just use if statements, and compare the numbers
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  [ 5 Posts ]
Jump to:   


Style:  
Search: