Ask Question
14 October, 15:32

Given two double variables, bestvalue and secondbestvalue, write some code that swaps their values. declare any additional variables as necessary.

+1
Answers (1)
  1. 14 October, 19:19
    0
    Double temp;

    temp = bestValue;

    bestValue = secondBestValue;

    secondBestValue = temp;
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Given two double variables, bestvalue and secondbestvalue, write some code that swaps their values. declare any additional variables as ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers