Question: Write a function declaration called sumStrings that takes three String arguments: one, two, three. Convert these values to Numbers, add them together, and return

Write a function declaration called sumStrings that takes three String arguments: one,

 

Write a function declaration called sumStrings that takes three String arguments: one, two, three. Convert these values to Numbers, add them together, and return the result as a Number. Calling sumStrings("1", "2", "3") should return the Number 6 Question 2 (5 Marks): Write a function expression called sumStringsEquation that takes three String arguments: one, two, three. Create a string equation of these values and their sum, using your sumStrings() function from question 1. Calling sumStrings Equation("1", "2", "3") should return the String "1+2+3=6"

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!