Advertisement
Guest User

Untitled

a guest
Jan 21st, 2019
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1.  
  2. import java.util.Scanner;
  3.  
  4. public class SummanNeliojuuri {
  5.  
  6. public static void main(String[] args) {
  7. Scanner lukija = new Scanner(System.in);
  8.  
  9. int eka = Integer.valueOf(lukija.nextLine());
  10. int toka = Integer.valueOf(lukija.nextLine());
  11. System.out.println(Math.sqrt(eka + toka));
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement