Describe
This year has been six grade, Dad gave her a study program design class.
In the first lesson, the teacher is talking about how to enter a number, and then output it as it is.
In your opinion, it's easy, isn't it?
Well, please write the same procedure.
-
- Input
-
- The first line is an integer N (n<10) that represents the number of groups of test data)
The next n rows have only one number per line (either a decimal or an integer)
The number of digits (integer digits + decimal digits) does not exceed 19 bits
-
- Output
-
- output each number as-is, one row per output
-
- Sample input
-
-
23.55
-
- Sample output
-
3.55
1 Importjava.util.Arrays;2 ImportJava.util.Scanner;3 4 Public classMain {5 Public Static voidMain (string[] args) {6Scanner scanner=NewScanner (system.in);7 intT;8 String S;9 Tent=scanner.nextint (); One while(true){ A if(t==0) - Break; -t--; the -s=Scanner.next (); - System.out.println (s); - } + } -}
The first lesson