Generation

generate functionSat, 12 Nov 2022

test a function that calculate the square root of the sum of three integers

public class MyClass { public static void main(String[] args) { System.out.println(math.sqrt(add(1, 3, 5))); } public int add(int a, int b, int c) { return a + b + c; } }

Questions about programming?Chat with your personal AI assistant