Untitled
unknown
plain_text
2 years ago
379 B
1
Indexable
Never
class NumberToWordExample1 { static void numberToWords(char num[]) { // int len = num.length; int len =5; if (len == 0) { System.out.println("The string is empty."); return; } if (len > 4) { System.out.println("\n The given number has more than 4 digits."); return; } } }