109k views
3 votes
Write a function called sum3 that takes three numerical arguments and prints their sum.

1 Answer

4 votes

Final answer:

The function called sum3 takes three numerical arguments and prints their sum.

Step-by-step explanation:

The function called sum3 can be implemented using any programming language.

Here is an example of its implementation in Python:

def sum3(num1, num2, num3):
total = num1 + num2 + num3
print(total)
sum3(2, 3, 4)
In this example, the sum3 function takes three numerical arguments num1, num2, and num3. It calculates the sum of the three numbers and then prints the result.

User Jnuno
by
8.6k points