b)Write a program to accepb)Write a program to accept a digit and print it in words.t a digit and print it in words.
Answers
Answered by
1
Answer:
heeeeeyyyyyyyyyuuuuyuuuuuuuuu
Answered by
0
Answer:
- Input number from user. Store it in some variable say num .
- 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.
i hope you like this answer
Similar questions