[ Ссылка ]
Algorytm dla b2b:
Scanner scanner = new Scanner(System.in);
double net = scanner.nextDouble();
double poUrlopie = net - (net/168*16);
double poZusie = poUrlopie - 1500;
double naReke = poZusie * 0.85;
System.out.println(naReke);
![](https://s2.save4k.ru/pic/OjpGqtenrMk/maxresdefault.jpg)
[ Ссылка ]
Algorytm dla b2b:
Scanner scanner = new Scanner(System.in);
double net = scanner.nextDouble();
double poUrlopie = net - (net/168*16);
double poZusie = poUrlopie - 1500;
double naReke = poZusie * 0.85;
System.out.println(naReke);