Ask Question

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

+1
Answers (1)
  1. 10 December, 00:54
    0
    Double temp;

    temp = bestValue;

    bestValue = secondBestValue;

    secondBestValue = temp;
Know the Answer?
Not Sure About the Answer?
Find 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 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