Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Enter your code herepublic class Main {
- public static void main(String[] args) {
- int summ = 32313;
- int time =6;
- double dohod=0;
- if (summ>10000)
- dohod = summ * 0.13/12*time;
- if (summ<10000)
- dohod = summ * 0.11/12*time;
- if (summ<5000)
- dohod=summ*0.09/12*time;
- System.out.println(dohod);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement