Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- public class Main {
- public static void main(String[] args) {
- Scanner scanner = new Scanner(System.in);
- double bricks = Double.parseDouble(scanner.nextLine());
- double workers = Double.parseDouble(scanner.nextLine());
- double volume = Double.parseDouble(scanner.nextLine());
- double kurs = volume*workers ;
- double needKursove = bricks/kurs;
- System.out.printf( "%f", Math.ceil(needKursove)) ;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement