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, 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
Step: 1
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started