Advertisement
buzzonit

Exercicios gislaine no java

Mar 8th, 2016
346
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.68 KB | None | 0 0
  1. int a,b,c,soma;
  2.        Scanner s= new Scanner (System.in);
  3.         System.out.println("digite a");
  4.         a = s.nextInt();
  5.        
  6.         System.out.println("digite b");
  7.         b = s.nextInt();
  8.        
  9.         System.out.println("digite c");
  10.         c = s.nextInt();
  11.        
  12.         soma = (a*b)/c;
  13.        
  14.         System.out.println("reposta e:"+ soma);
  15.  
  16.  
  17. int v,d,soma;
  18.        
  19.        Scanner s= new Scanner (System.in);
  20.         System.out.println("digite v");
  21.         v = s.nextInt();
  22.        
  23.         System.out.println("digite d");
  24.         b = s.nextInt();
  25.        
  26.        
  27.      
  28.         soma =
  29.        
  30.         System.out.println("reposta e:"+ soma);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement