Question: Write a program that converts currency to their string equivalent. The program should take currency input from the user as a numeric value and display

Write a program that converts currency to their string equivalent. The program should take currency input from the user as a numeric value and display the string form of that value to the user. For example, if the user enters the value 512.34, the program should output the string five hundred twelve dollars and thirty-four cents. This program should work up to values of 999,999.99 Question b steps: 1- int main function to take the input and display the output 2- string functions to display all the numbers names in English: a) Digit names: one, two, three, etc. b) Teen names: ten, eleven, etc. c) Ten names: Twenty, Thirty, etc. 3- String function to add the full number name. 4- String function to return tens names. S- String function to return the Hundreds names. 6- String function to return the cents names
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
