Advertisement
Alex_Zuev

Untitled

Feb 24th, 2015
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. Enter your code herepublic class Main {
  2. public static void main(String[] args) {
  3. int summ = 32313;
  4. int time =6;
  5. double dohod=0;
  6. if (summ>10000)
  7. dohod = summ * 0.13/12*time;
  8. if (summ<10000)
  9. dohod = summ * 0.11/12*time;
  10. if (summ<5000)
  11. dohod=summ*0.09/12*time;
  12. System.out.println(dohod);
  13.  
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement