Computer Science, asked by roshinireddyr999, 3 months ago

write a program to accept amount and convert into words.

Answers

Answered by itscutegirl7
0

Explanation:

Step by step descriptive logic to convert number in words.

Input number from user. ...

Extract last digit of given number by performing modulo division by 10. ...

Switch the value of digit found above. ...

Remove last digit from num by dividing it by 10 i.e. num = num / 10 .

Repeat step 2 to 4 till number becomes 0.

Answered by thakurvaishnavi689
0

Answer:

Step by step descriptive logic to convert number in words.

Input number from user. ...

Extract last digit of given number by performing modulo division by 10. ...

Switch the value of digit found above. ...

Remove last digit from num by dividing it by 10 i.e. num = num / 10 .

Repeat step 2 to 4 till number becomes 0

Explanation:

mark as brilliant

Similar questions
Math, 3 months ago