You have been commissioned by the Acme Legal Department to write a program, independent from the word processor, which counts the number of words in their legal documents in order to double check the results of the word counting feature. A word is defined as a series of letters or digits followed by any other character or an end of line. The input file will consist of lines of text. In chemistry and physics, scientists deal with numbers in scientific notation since it makes working with numbers simpler. Therefore, your task is to write a program that converts a number formatted in scientific notation to its normal expanded form.
Scientific notation works on the basis of exponents.
A number is either multiplied or divided by 10 until it is less than 10 and greater than 1. The e is an abbreviation for exponent. So, for example, 3.14e3 is equivalent to 3,140. Another example is 1.872e-3, which represents the number .001872. The digit 0 will represent the end of the data.