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

Username:   Password: 
 RegisterRegister   
 turing - is this coding possible?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
comp_help




PostPosted: Sat Apr 04, 2009 9:13 pm   Post subject: turing - is this coding possible?

Ok, I want to know if this type of coding is possible in turing.

Sample Output:
5
Five
13
Thirteen
456
Four Hundred and Fifty Six
1, 334, 445
One million, three hundred and thirty four thousand, four hundred and forty five.
*This should be able to work up to 1 digit in billions*

If it is possible, how long would it take to make it?

PS: This is not my homework or of any sort, I am just wondering if this is possible.
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Sat Apr 04, 2009 9:17 pm   Post subject: RE:turing - is this coding possible?

Yes, this is possible. The length of implementation will depend on your design and experience; though considering that the output is very rigidly formatted, this should be a trivial problem.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
comp_help




PostPosted: Sat Apr 04, 2009 9:25 pm   Post subject: RE:turing - is this coding possible?

What about this code?

A moving character (on 1 side of the screen) from user input and a mirror image displayed across the other half of the screen, reflecting the character and his/her movements.
Dusk Eagle




PostPosted: Sat Apr 04, 2009 9:46 pm   Post subject: Re: turing - is this coding possible?

Almost anything is possible in any Turing (not the language!) complete programming language. This includes Turing (the language). However, certain things are far more difficult to do in certain languages than in others, and when you throw efficiency and several other factors into the mix, Turing becomes a clear loser.
BigBear




PostPosted: Sat Apr 04, 2009 10:45 pm   Post subject: Re: turing - is this coding possible?

Dusk Eagle @ Sat Apr 04, 2009 9:46 pm wrote:
Almost anything is possible in any Turing (not the language!) complete programming language. This includes Turing (the language).


Are you saying turing is a turing language? It isn't
Dusk Eagle




PostPosted: Sat Apr 04, 2009 10:58 pm   Post subject: Re: turing - is this coding possible?

Turing isn't Turing complete?
Tony




PostPosted: Sat Apr 04, 2009 11:08 pm   Post subject: RE:turing - is this coding possible?

I'm surprised by BigBear's claim too.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
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  [ 7 Posts ]
Jump to:   


Style:  
Search: