Advertisement
Guest User

Untitled

a guest
Oct 15th, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. package hr.riteh.uoop.zad3;
  2.  
  3. import java.util.Scanner;
  4. import java.util.Arrays;
  5.  
  6. public class Jed {
  7.  
  8. public static void main(String[] args) {
  9. Scanner scan = new Scanner(System.in);
  10. Integer[] array = new Integer[2];
  11.  
  12. for (int i = 0; i < 3; i++) {
  13. array[i] = scan.nextInt();
  14. }
  15. }
  16.  
  17. public static double[] quad(int a, int b, int c) {
  18. Math.sqrt(Math.pow(b, 2) - 4*a*c);
  19.  
  20. }
  21.  
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement