Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.io.*;
- public class ClassePrincipale
- {
- InputStreamReader culo=new InputStreamReader(System.in);
- BufferedReader sedere=new BufferedReader(culo);
- public int x;
- public float j;
- public String y;
- public float Virgola(){
- try{
- j=Float.valueOf(sedere.readLine()).floatValue();
- }
- catch(Exception e){};
- return j;
- }
- public int Interi(){
- try{
- x=Integer.valueOf(sedere.readLine()).intValue();
- }
- catch(Exception e){};
- return x;
- }
- public String Stringa(){
- try{
- y=sedere.readLine();
- }
- catch(Exception e){};
- return y;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement