9 Einträge, 1 Seite |
1
2
3
BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
B = Double.parseDouble(input.readLine());
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import java.io.*;
public class Test{
public static void main(String args[]){
try{
BufferedReader input = new BufferedReader(new InputStreamReader(System.io));
String line = input.readLine();
System.out.println("ZEILE\n" + line + "ENDE");
double zahl = Double.parseDouble(line);
System.out.println("ZAHL\n" + zahl + "ENDE");
}
catch(Exception e){}
}
}
9 Einträge, 1 Seite |