C++ Program to Enter a Number and Print it into Words

C++ Program to Enter a Number and Print it into Words

Here you will get an example code of C++ program to enter a number and print it into words. This is the good example of nested if-else (conditional statement).

for example:

Input any number : 57
Fifty Seven

C++ Program to Enter a Number and Print it into Words

Output 1

Input any number(max two digits ) : 78
Seventy Eight

Output 2

Input any number(max two digits ) : 18
Eighteen

 

 

Check out our other C++ programming Examples

 

 

 

 

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top