C Program that'll convert Input 135.87 into Output one hundred thirty-five and cents

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PorkQ822
    New Member
    • Nov 2019
    • 1

    C Program that'll convert Input 135.87 into Output one hundred thirty-five and cents

    The assignment description is as follows:

    Your objective is to write a program that prompts the user to enter a non-negative decimal value of less than 1000. Once a valid input is entered, your program will print the dollar and cent values of the input in words. If the entered numerical value fall outside the valid range, then your program will print an error message and successfully terminate. For this program you only need to consider up to 2 significant digits after the decimal point.
  • dev7060
    Recognized Expert Contributor
    • Mar 2017
    • 656

    #2
    Homework / Class Assignment questions are NOT supported on bytes


    Mention what you have done so far for this. I'll be happy to help then.

    Comment

    Working...