Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
- package poleprostokata;
- import java.util.Scanner;
- /**
- *
- * @author student
- */
- public class PoleProstokata {
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args) {
- // TODO code application logic here
- Scanner skaner = new Scanner(System.in);
- System.out.print("BokA = ");
- int BokA = skaner.nextInt();
- System.out.print("BokB = ");
- int BokB = skaner.nextInt();
- LiczPole obiekt = new LiczPole(BokA, BokB);
- obiekt.oblicz();
- System.out.println("Pole = " + obiekt.wypisz());
- }
- }
Add Comment
Please, Sign In to add comment