Author |
Message |
comp_help
|
Posted: 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. |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
Posted: 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. |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
![](images/spacer.gif) |
comp_help
|
Posted: 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. |
|
|
|
|
![](images/spacer.gif) |
Dusk Eagle
![](http://compsci.ca/v3/uploads/user_avatars/78727197549dd7290a342c.png)
|
Posted: 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. |
|
|
|
|
![](images/spacer.gif) |
BigBear
|
Posted: 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 |
|
|
|
|
![](images/spacer.gif) |
Dusk Eagle
![](http://compsci.ca/v3/uploads/user_avatars/78727197549dd7290a342c.png)
|
Posted: Sat Apr 04, 2009 10:58 pm Post subject: Re: turing - is this coding possible? |
|
|
Turing isn't Turing complete? |
|
|
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
Posted: Sat Apr 04, 2009 11:08 pm Post subject: RE:turing - is this coding possible? |
|
|
I'm surprised by BigBear's claim too. |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
![](images/spacer.gif) |
|