A community for students.
Here's the question you clicked on:
 0 viewing
anonymous
 4 years ago
Here's a programming task, to be done in your language of choice: Write a function that takes a base10 integer (don't worry about the sign) as input and outputs a string that is the English sentence for the number:
int_to_word(7919) > seven thousand nine hundred nineteen
anonymous
 4 years ago
Here's a programming task, to be done in your language of choice: Write a function that takes a base10 integer (don't worry about the sign) as input and outputs a string that is the English sentence for the number: int_to_word(7919) > seven thousand nine hundred nineteen

This Question is Closed

anonymous
 4 years ago
Best ResponseYou've already chosen the best response.0bonus if you make it work for negative numbers. bonus if you make it work for fractions like 51.2202 bonus if you make it work with arbitrarily long numbers like some huge factorial.

anonymous
 4 years ago
Best ResponseYou've already chosen the best response.0if you enter 7919 in your code, i doubt you will get seven thousand nine hundred nineteen

anonymous
 4 years ago
Best ResponseYou've already chosen the best response.0sorry i didn't saw that thing , i'm just gonna take it off and post it later on after correction.

anonymous
 4 years ago
Best ResponseYou've already chosen the best response.0nobody wants to do it? :( I'll get to it myself

anonymous
 4 years ago
Best ResponseYou've already chosen the best response.0i will do it sometime later :D

anonymous
 4 years ago
Best ResponseYou've already chosen the best response.0http://ideone.com/nOnzN Now if anyone can help me debug it :D

anonymous
 4 years ago
Best ResponseYou've already chosen the best response.0Found the bug, replaced  by && in the getstring() procedure and now it works fine. http://ideone.com/NP9ZE
Ask your own question
Sign UpFind more explanations on OpenStudy
Your question is ready. Sign up for free to start getting answers.
spraguer
(Moderator)
5
→ View Detailed Profile
is replying to Can someone tell me what button the professor is hitting...
23
 Teamwork 19 Teammate
 Problem Solving 19 Hero
 Engagement 19 Mad Hatter
 You have blocked this person.
 ✔ You're a fan Checking fan status...
Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.