Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FILIP SUKENÍK
- package test;
- import java.util.Scanner;
- public class Main {
- public static void main(String[] args) {
- System.out.print("slovo");
- double DPH =0;
- double Cenadph =0;
- double částkadph =0;
- double Cenabezdph =0;
- Scanner sc = new Scanner(System.in);
- System.out.print("Zadej DPH a : ");
- DPH=(sc.nextDouble()+100)/100;
- System.out.print("Zadej Cenadph");
- Cenadph=sc.nextDouble();
- System.out.print("čÁSTKA DPH JE: ");
- částkadph=Cenadph-Cenabezdph;
- Cenabezdph= DPH/Cenadph
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement