QuestionQ41Verified/Functions, Classes and ObjectsCopy linkReport a problemAsk AstroTutorSave questionReview the following code. Which of the following would return the result of the variable total? AaddTogether()Btotal()CaddTogether(1,2,3)Dtotal(1,2,3)Show AnswerAnswerExplanationaddTogether accepts three parameters, calculates their sum in the local variable total, and returns that value. Supplying three arguments invokes the function and produces the returned total.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion