Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args) {
- // TODO code application logic here
- Scanner entrada = new Scanner(System.in);
- int a , b, c, d, x, y, z;
- a = entrada.nextInt();
- b = entrada.nextInt();
- c = entrada.nextInt();
- d = entrada.nextInt();
- x = entrada.nextInt();
- y = entrada.nextInt();
- z = entrada.nextInt();
- double frm1 = (x/y)+1;
- double frm2 = (x+y) / (y-x);
- double frm3 = x + (y / z);
- double frm4 = b / (c + d);
- double frm5 = (a + b) * (c / d);
- double frm6 = (Math.pow)((a+b),2)*(Math.pow)((a+b),2));
- double frm7 = (x*y) / (1-4(x));
- double frm8 = (x*y) / (m*n);
- double frm9 = (Math.pow) ((x+y),2) * (a-b);
- double frm10 = x - (y/z);
- System.out.println("el resultadoes es: ");
- System.out.println("resultado de la formula 1: " + frm1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement