Advertisement
vazzim

float

Dec 3rd, 2020
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.22 KB | None | 0 0
  1. class main {
  2.     public static void main(String[] args) {
  3.         System.out.println(method(23f, 37f, 65f, 21f));
  4.     }
  5.     public static float method(float a, float b, float c, float d) {
  6.         return a * (b + (c / d));
  7.     }
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement