Skip to content

Commit 1634edc

Browse files
authored
Added Comment
1 parent 4f7a82e commit 1634edc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

NumberToWords.java

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ public static void main(String[] args) throws IOException {
1010
DataInputStream in = new DataInputStream(System.in);
1111
int t, l, x, y;
1212
String s, ans;
13+
// initializing the strings to store the words for each number
1314
String l19[] = {"", "One ", "Two ", "Three ", "Four ", "Five ", "Six ", "Seven ", "Eight ", "Nine ", "Ten ", "Eleven ", "Twelve ", "Thirteen ", "Fourteen ", "Fifteen ", "Sixteen ", "Seventeen ", "Eighteen ", "Nineteen "};
1415
String l90[] = {"", "", "Twenty ", "Thirty ", "Forty ", "Fifty ", "Sixty ", "Seventy ", "Eighty ", "Ninety "};
1516
//System.out.println("Enter input:");

0 commit comments

Comments
 (0)