Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class main {
- public static void main(String[] args) {
- System.out.println(method(23f, 37f, 65f, 21f));
- }
- public static float method(float a, float b, float c, float d) {
- return a * (b + (c / d));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement