Computer Science, asked by glossygirl, 6 months ago

plz dont spam ....love u all
fake answers be reported!!

Write a program to input a digit and print it in words.​

Answers

Answered by SanskariDevil
2

Answer:

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.

Similar questions