Generation

generate functionSat, 12 Nov 2022

Add first two numbers and substract the third

Script function add(a, b) { return a + b } function substract(a, b) { return a - b } function addAndSub(a, b, c) { return substract(add(a, b), c) } addAndSub(1, 2, 3)

Questions about programming?Chat with your personal AI assistant