-->
当前位置:首页 > 题库

PROGRAMMING:The value of scientific counting

Luz5年前 (2021-05-10)题库383
Scientific counting is a special mathematical term. Express a number as a × 10, where 1 ≤| a | < 10, n is an integer. This counting method is called scientific counting method. For example, 920000 can be expressed as 9.2 * 10 ^ 5
Now we need to separate the input string, automatically identify the A and power in the scientific counting method, calculate the specific value of its representation and output the value.
For example, for the input complex string "9.2 * 10 ^ 5", the output
The actual value for 9.2*10^5 is 920000
be careful:
1. Each set of test data contains only one string for scientific counting.
2. The input string is legal.
3. String length not more than 1000
4. The power does not exceed 200
Input example:
9.2*10^5
Output example:
The actual value for 9.2*10^5 is 920000






answer:If there is no answer, please comment