Advertisement
Ronel101

Untitled

Sep 10th, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. public class MyClass {
  2. public static void main(String args[]) {
  3. double gif = 448245;
  4. double pic = 6665;
  5. double priceGifU = ((gif * 500) / (1024 * 1024 * 1024)) * 0.028;
  6. double pricePicU = ((pic * 500) / (1024 * 1024 * 1024)) * 0.028;
  7. double priceGifD = ((gif) / (1024 * 1024 * 1024)) * 0.12 * 31 * 4;
  8. double pricePicD = ((pic) / (1024 * 1024 * 1024)) * 0.12 * 31 * 4 * 12;
  9. double operations = (0.05 / 20) + 0.004 / 5 ;
  10. double cla = 1.2 / 2;
  11.  
  12. System.out.println(priceGifU + pricePicU + priceGifD + pricePicD + operations + cla);
  13. }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement