Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int a,b,c,soma;
- Scanner s= new Scanner (System.in);
- System.out.println("digite a");
- a = s.nextInt();
- System.out.println("digite b");
- b = s.nextInt();
- System.out.println("digite c");
- c = s.nextInt();
- soma = (a*b)/c;
- System.out.println("reposta e:"+ soma);
- int v,d,soma;
- Scanner s= new Scanner (System.in);
- System.out.println("digite v");
- v = s.nextInt();
- System.out.println("digite d");
- b = s.nextInt();
- soma =
- System.out.println("reposta e:"+ soma);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement