Help in an exercise in c

Asked

Viewed 65 times

1

Good night.

I’m doubting how and where to start the following algorithm:

Write an algorithm that in c that receives a check number and writes the equivalent word. For example, the value 112.43 must be written as CENTO E DOZE E 43/100

Please don’t tell me the answer, but give me a path where I can start.

  • 1

    Make special treatment for the values from 1 to 19. Divide the number into figures according to the position and apply the number of each digit. A good solution is table of units, tens and hundreds, beyond 1 to 19.

  • Thanks, now I know where to start.

  • If you’re having doubts, that answer satisfies your question. I know you did not want the answer but rather a help, well, this answer is very detailed and I assure you will be of good help. :)

  • 1
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.