Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. /**
  2. * @param args the command line arguments
  3. */
  4. public static void main(String[] args) {
  5. // TODO code application logic here
  6. Scanner entrada = new Scanner(System.in);
  7. int a , b, c, d, x, y, z;
  8. a = entrada.nextInt();
  9. b = entrada.nextInt();
  10. c = entrada.nextInt();
  11. d = entrada.nextInt();
  12. x = entrada.nextInt();
  13. y = entrada.nextInt();
  14. z = entrada.nextInt();
  15.  
  16. double frm1 = (x/y)+1;
  17. double frm2 = (x+y) / (y-x);
  18. double frm3 = x + (y / z);
  19. double frm4 = b / (c + d);
  20. double frm5 = (a + b) * (c / d);
  21. double frm6 = (Math.pow)((a+b),2)*(Math.pow)((a+b),2));
  22. double frm7 = (x*y) / (1-4(x));
  23. double frm8 = (x*y) / (m*n);
  24. double frm9 = (Math.pow) ((x+y),2) * (a-b);
  25. double frm10 = x - (y/z);
  26.  
  27. System.out.println("el resultadoes es: ");
  28. System.out.println("resultado de la formula 1: " + frm1);
  29.  
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement