Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.io.File;
- import java.util.Scanner;
- import java.util.ArrayList;
- import java.io.*;
- import static java.lang.System.*;
- import java.util.* ;
- public class Test {
- public static void main ( String[] args ) throws InputMismatchException {
- try {
- reading();
- }
- catch ( Exception ex ) {
- }
- }
- public static void reading() throws Exception {
- File reader = new File("Abon.txt");
- Scanner fs = new Scanner(reader);
- while (fs.hasNextLine()) {
- int id = fs.nextInt();
- String Name = fs.next();
- String SecondName = fs.next();
- String ThirdName = fs.next();
- String City = fs.next();
- String Street = fs.next();
- String Number = fs.nextLine();
- String Abon = fs.next();
- int PriceAbon = fs.nextInt();
- int MinInt = fs.nextInt();
- int MinExt = fs.nextInt();
- out.println(id + " " + Name + " " + SecondName + " " + ThirdName + " " + City + " " + Street + " " + Street );
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement