Ask Question
31 December, 23:50

The method Sum listed below returns the sum of integers between 1 and n. What is its order of growth? Create a new method that performs the same function that is a lower order of growth. public int Sum (int n) { int total = 0; for (i = 1; I < n; i++) total = total + i; return total; }

+2
Answers (1)
  1. 31 December, 23:53
    0
    Tell me why i got this question got it right and now won't remember but i'll get back at you when i remember
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “The method Sum listed below returns the sum of integers between 1 and n. What is its order of growth? Create a new method that performs the ...” in 📗 Engineering if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers